aboutsummaryrefslogtreecommitdiffhomepage
path: root/include
diff options
context:
space:
mode:
authorGravatar Craig Tiller <craig.tiller@gmail.com>2015-09-24 23:19:40 -0700
committerGravatar Craig Tiller <craig.tiller@gmail.com>2015-09-24 23:19:40 -0700
commit649deebf7f50d29ed3550ce9dcd241cbeacb7df6 (patch)
tree45225f74a8032867cc34f8f15823925ea97d699e /include
parentfc193e1ff40d1ae557caf84d644a1b3a9bfe95b3 (diff)
Recycle partially filled buffers on the next read
Diffstat (limited to 'include')
-rw-r--r--include/grpc/support/slice_buffer.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/grpc/support/slice_buffer.h b/include/grpc/support/slice_buffer.h
index 321ba288fd..f3f14a6aa0 100644
--- a/include/grpc/support/slice_buffer.h
+++ b/include/grpc/support/slice_buffer.h
@@ -87,7 +87,7 @@ void gpr_slice_buffer_swap(gpr_slice_buffer *a, gpr_slice_buffer *b);
/* move all of the elements of src into dst */
void gpr_slice_buffer_move_into(gpr_slice_buffer *src, gpr_slice_buffer *dst);
/* remove n bytes from the end of a slice buffer */
-void gpr_slice_buffer_trim_end(gpr_slice_buffer *src, size_t n);
+void gpr_slice_buffer_trim_end(gpr_slice_buffer *src, size_t n, gpr_slice_buffer *garbage);
#ifdef __cplusplus
}