clang-format

reviewable/pr8782/r1
Mark D. Roth 8 years ago
parent 83eafde35d
commit fcf5e10bed
  1. 2
      src/core/ext/transport/chttp2/server/secure/server_secure_chttp2.c
  2. 6
      src/core/lib/channel/handshaker.c

@ -117,7 +117,7 @@ static void on_secure_handshake_done(grpc_exec_ctx *exec_ctx, void *statep,
static void on_handshake_done(grpc_exec_ctx *exec_ctx, void *arg, static void on_handshake_done(grpc_exec_ctx *exec_ctx, void *arg,
grpc_error *error) { grpc_error *error) {
grpc_handshaker_args* args = arg; grpc_handshaker_args *args = arg;
server_secure_connect *connection_state = args->user_data; server_secure_connect *connection_state = args->user_data;
if (error != GRPC_ERROR_NONE) { if (error != GRPC_ERROR_NONE) {
const char *error_str = grpc_error_string(error); const char *error_str = grpc_error_string(error);

@ -158,9 +158,9 @@ static void call_next_handshaker(grpc_exec_ctx* exec_ctx, void* arg,
return; return;
} }
// Call the next handshaker. // Call the next handshaker.
grpc_handshaker_do_handshake( grpc_handshaker_do_handshake(exec_ctx, mgr->handshakers[mgr->state->index],
exec_ctx, mgr->handshakers[mgr->state->index], mgr->state->deadline, mgr->state->deadline, mgr->state->acceptor,
mgr->state->acceptor, &mgr->state->call_next_handshaker, args); &mgr->state->call_next_handshaker, args);
// If this is the last handshaker, clean up state. // If this is the last handshaker, clean up state.
if (mgr->state->index == mgr->count) { if (mgr->state->index == mgr->count) {
gpr_free(mgr->state); gpr_free(mgr->state);

Loading…
Cancel
Save