aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/core/support/slice.c
diff options
context:
space:
mode:
authorGravatar Craig Tiller <ctiller@google.com>2015-08-18 09:33:44 -0700
committerGravatar Craig Tiller <ctiller@google.com>2015-08-18 09:33:44 -0700
commitd6c98df792198c5c9687ed35a676efbc5e621e0f (patch)
treed8dae211eb45035d095e4549ab5af439e67b22dc /src/core/support/slice.c
parentbb1c795f998f052f854a6e1aeebff44e293a29f4 (diff)
clang-format all source
Diffstat (limited to 'src/core/support/slice.c')
-rw-r--r--src/core/support/slice.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/core/support/slice.c b/src/core/support/slice.c
index e4196a48c6..53024e88f1 100644
--- a/src/core/support/slice.c
+++ b/src/core/support/slice.c
@@ -284,7 +284,8 @@ gpr_slice gpr_slice_split_head(gpr_slice *source, size_t split) {
head.refcount = NULL;
head.data.inlined.length = (gpr_uint8)split;
memcpy(head.data.inlined.bytes, source->data.inlined.bytes, split);
- source->data.inlined.length = (gpr_uint8)(source->data.inlined.length - split);
+ source->data.inlined.length =
+ (gpr_uint8)(source->data.inlined.length - split);
memmove(source->data.inlined.bytes, source->data.inlined.bytes + split,
source->data.inlined.length);
} else if (split < sizeof(head.data.inlined.bytes)) {