aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/core
diff options
context:
space:
mode:
authorGravatar Mark D. Roth <roth@google.com>2016-07-25 13:06:49 -0700
committerGravatar Mark D. Roth <roth@google.com>2016-07-25 13:06:49 -0700
commit889e02e29da6ec5e663cf1e8009a7dc4996df3fe (patch)
tree029437ccf6596070e08d8368ef2935d472c0c507 /src/core
parente106570dc37f2d590033b89427a2c06d7592264b (diff)
parent734cbe79427a51bd5e2baaafee84694af96a3d7e (diff)
Merge branch 'handshake_api' into http_connect
Diffstat (limited to 'src/core')
-rw-r--r--src/core/ext/transport/chttp2/client/secure/secure_channel_create.c7
-rw-r--r--src/core/lib/channel/handshaker.h3
2 files changed, 4 insertions, 6 deletions
diff --git a/src/core/ext/transport/chttp2/client/secure/secure_channel_create.c b/src/core/ext/transport/chttp2/client/secure/secure_channel_create.c
index f3172f6e68..bdabb7827e 100644
--- a/src/core/ext/transport/chttp2/client/secure/secure_channel_create.c
+++ b/src/core/ext/transport/chttp2/client/secure/secure_channel_create.c
@@ -139,10 +139,9 @@ static void on_handshake_done(grpc_exec_ctx *exec_ctx, grpc_endpoint *endpoint,
// handshake API, and then move the code from on_secure_handshake_done()
// into this function.
c->tmp_args = args;
- grpc_channel_security_connector_do_handshake(exec_ctx,
- c->security_connector,
- endpoint, c->args.deadline,
- on_secure_handshake_done, c);
+ grpc_channel_security_connector_do_handshake(
+ exec_ctx, c->security_connector, endpoint, c->args.deadline,
+ on_secure_handshake_done, c);
}
}
diff --git a/src/core/lib/channel/handshaker.h b/src/core/lib/channel/handshaker.h
index b1a0ba8739..dfc469c417 100644
--- a/src/core/lib/channel/handshaker.h
+++ b/src/core/lib/channel/handshaker.h
@@ -60,8 +60,7 @@ typedef struct grpc_handshaker grpc_handshaker;
typedef void (*grpc_handshaker_done_cb)(grpc_exec_ctx* exec_ctx,
grpc_endpoint* endpoint,
grpc_channel_args* args,
- void* user_data,
- grpc_error* error);
+ void* user_data, grpc_error* error);
struct grpc_handshaker_vtable {
/// Destroys the handshaker.