clang-format

pull/10613/head
Craig Tiller 8 years ago
parent 85bf34a4a8
commit e38948a1cd
  1. 3
      test/core/util/passthru_endpoint.c
  2. 3
      test/core/util/trickle_endpoint.c

@ -108,7 +108,8 @@ static void me_write(grpc_exec_ctx *exec_ctx, grpc_endpoint *ep,
m->on_read = NULL;
} else {
for (size_t i = 0; i < slices->count; i++) {
grpc_slice_buffer_add(&m->read_buffer, grpc_slice_copy(slices->slices[i]));
grpc_slice_buffer_add(&m->read_buffer,
grpc_slice_copy(slices->slices[i]));
}
}
gpr_mu_unlock(&m->parent->mu);

@ -71,7 +71,8 @@ static void te_write(grpc_exec_ctx *exec_ctx, grpc_endpoint *ep,
te->last_write = gpr_now(GPR_CLOCK_MONOTONIC);
}
for (size_t i = 0; i < slices->count; i++) {
grpc_slice_buffer_add(&te->write_buffer, grpc_slice_copy(slices->slices[i]));
grpc_slice_buffer_add(&te->write_buffer,
grpc_slice_copy(slices->slices[i]));
}
grpc_closure_sched(exec_ctx, cb, GRPC_ERROR_REF(te->error));
gpr_mu_unlock(&te->mu);

Loading…
Cancel
Save