Edge case cleanup

pull/3993/head
Craig Tiller 9 years ago
parent bd50ed8057
commit 6b80d4913b
  1. 2
      src/core/support/slice_buffer.c

@ -220,7 +220,7 @@ void gpr_slice_buffer_move_first(gpr_slice_buffer *src, size_t n,
return;
}
src_idx = 0;
for (;;) {
while (src_idx < src->capacity) {
gpr_slice slice = src->slices[src_idx];
size_t slice_len = GPR_SLICE_LENGTH(slice);
if (n > slice_len) {

Loading…
Cancel
Save