aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/core/lib/channel/handshaker.c
diff options
context:
space:
mode:
authorGravatar Mark D. Roth <roth@google.com>2016-07-20 09:25:25 -0700
committerGravatar Mark D. Roth <roth@google.com>2016-07-20 09:25:25 -0700
commitb3ce178b28ebb842408f8cdc5b116816a0171095 (patch)
tree20bede771819ac01b6a4d8519637407008ed88e7 /src/core/lib/channel/handshaker.c
parent9317715338d75ab0cb4c0f745a4784eef6338f58 (diff)
clang-format
Diffstat (limited to 'src/core/lib/channel/handshaker.c')
-rw-r--r--src/core/lib/channel/handshaker.c14
1 files changed, 5 insertions, 9 deletions
diff --git a/src/core/lib/channel/handshaker.c b/src/core/lib/channel/handshaker.c
index 7dcbe1df9c..9191ae6339 100644
--- a/src/core/lib/channel/handshaker.c
+++ b/src/core/lib/channel/handshaker.c
@@ -129,8 +129,7 @@ void grpc_handshake_manager_shutdown(grpc_exec_ctx* exec_ctx,
// handshakers together.
static void call_next_handshaker(grpc_exec_ctx* exec_ctx,
grpc_endpoint* endpoint,
- grpc_channel_args* args,
- void* user_data) {
+ grpc_channel_args* args, void* user_data) {
grpc_handshake_manager* mgr = user_data;
GPR_ASSERT(mgr->state != NULL);
GPR_ASSERT(mgr->state->index < mgr->count);
@@ -153,13 +152,10 @@ static void call_next_handshaker(grpc_exec_ctx* exec_ctx,
}
}
-void grpc_handshake_manager_do_handshake(grpc_exec_ctx* exec_ctx,
- grpc_handshake_manager* mgr,
- grpc_endpoint* endpoint,
- const grpc_channel_args* args,
- gpr_timespec deadline,
- grpc_handshaker_done_cb cb,
- void* user_data) {
+void grpc_handshake_manager_do_handshake(
+ grpc_exec_ctx* exec_ctx, grpc_handshake_manager* mgr,
+ grpc_endpoint* endpoint, const grpc_channel_args* args,
+ gpr_timespec deadline, grpc_handshaker_done_cb cb, void* user_data) {
grpc_channel_args* args_copy = grpc_channel_args_copy(args);
if (mgr->count == 0) {
// No handshakers registered, so we just immediately call the done