clang-format

pull/7517/head
Mark D. Roth 9 years ago
parent 39377e92cd
commit 734cbe7942
  1. 7
      src/core/ext/transport/chttp2/client/secure/secure_channel_create.c
  2. 3
      src/core/lib/channel/handshaker.h

@ -138,10 +138,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() // handshake API, and then move the code from on_secure_handshake_done()
// into this function. // into this function.
c->tmp_args = args; c->tmp_args = args;
grpc_channel_security_connector_do_handshake(exec_ctx, grpc_channel_security_connector_do_handshake(
c->security_connector, exec_ctx, c->security_connector, endpoint, c->args.deadline,
endpoint, c->args.deadline, on_secure_handshake_done, c);
on_secure_handshake_done, c);
} }
} }

@ -60,8 +60,7 @@ typedef struct grpc_handshaker grpc_handshaker;
typedef void (*grpc_handshaker_done_cb)(grpc_exec_ctx* exec_ctx, typedef void (*grpc_handshaker_done_cb)(grpc_exec_ctx* exec_ctx,
grpc_endpoint* endpoint, grpc_endpoint* endpoint,
grpc_channel_args* args, grpc_channel_args* args,
void* user_data, void* user_data, grpc_error* error);
grpc_error* error);
struct grpc_handshaker_vtable { struct grpc_handshaker_vtable {
/// Destroys the handshaker. /// Destroys the handshaker.

Loading…
Cancel
Save