diff options
author | Jan Tattermusch <jtattermusch@google.com> | 2015-10-02 13:50:24 -0700 |
---|---|---|
committer | Jan Tattermusch <jtattermusch@google.com> | 2015-10-02 13:50:24 -0700 |
commit | 28bf559ee2c80486b837a9bd6bdff1713d07cb26 (patch) | |
tree | 430039fdd26879af82e76d6e3a1013a588e295d2 /src/core/support/slice_buffer.c | |
parent | 91ad018c0026dc231e73ede1db17ef5e329d453c (diff) | |
parent | 1f8efa266d585dc5a4d450da3b27e758e71d3250 (diff) |
Merge remote-tracking branch 'upstream/master' into interop_improvements
Diffstat (limited to 'src/core/support/slice_buffer.c')
-rw-r--r-- | src/core/support/slice_buffer.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/core/support/slice_buffer.c b/src/core/support/slice_buffer.c index a1aa56fd72..310fbe1350 100644 --- a/src/core/support/slice_buffer.c +++ b/src/core/support/slice_buffer.c @@ -208,7 +208,8 @@ void gpr_slice_buffer_move_into(gpr_slice_buffer *src, gpr_slice_buffer *dst) { src->length = 0; } -void gpr_slice_buffer_trim_end(gpr_slice_buffer *sb, size_t n, gpr_slice_buffer *garbage) { +void gpr_slice_buffer_trim_end(gpr_slice_buffer *sb, size_t n, + gpr_slice_buffer *garbage) { GPR_ASSERT(n <= sb->length); sb->length -= n; for (;;) { |