aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/core/ext
diff options
context:
space:
mode:
authorGravatar Mark D. Roth <roth@google.com>2016-12-14 12:36:39 -0800
committerGravatar Mark D. Roth <roth@google.com>2016-12-14 12:36:39 -0800
commitf8439141a0727d8ccb7b3ce61c368aa2fdb4ca68 (patch)
treedc9ff5759b20c65c89efa8d288f95ab1a1fd20b0 /src/core/ext
parentd574c192b1daea8358bd1e5bdb0f0c2663d64a77 (diff)
clang-format
Diffstat (limited to 'src/core/ext')
-rw-r--r--src/core/ext/client_channel/client_channel_factory.c8
-rw-r--r--src/core/ext/client_channel/http_connect_handshaker.c2
2 files changed, 5 insertions, 5 deletions
diff --git a/src/core/ext/client_channel/client_channel_factory.c b/src/core/ext/client_channel/client_channel_factory.c
index 01eee02979..4eb35dfcf7 100644
--- a/src/core/ext/client_channel/client_channel_factory.c
+++ b/src/core/ext/client_channel/client_channel_factory.c
@@ -56,12 +56,12 @@ grpc_channel* grpc_client_channel_factory_create_channel(
args);
}
-static void *factory_arg_copy(void *factory) {
+static void* factory_arg_copy(void* factory) {
grpc_client_channel_factory_ref(factory);
return factory;
}
-static void factory_arg_destroy(void *factory) {
+static void factory_arg_destroy(void* factory) {
// TODO(roth): Remove local exec_ctx when
// https://github.com/grpc/grpc/pull/8705 is merged.
grpc_exec_ctx exec_ctx = GRPC_EXEC_CTX_INIT;
@@ -69,7 +69,7 @@ static void factory_arg_destroy(void *factory) {
grpc_exec_ctx_finish(&exec_ctx);
}
-static int factory_arg_cmp(void *factory1, void *factory2) {
+static int factory_arg_cmp(void* factory1, void* factory2) {
if (factory1 < factory2) return -1;
if (factory1 > factory2) return 1;
return 0;
@@ -79,7 +79,7 @@ static const grpc_arg_pointer_vtable factory_arg_vtable = {
factory_arg_copy, factory_arg_destroy, factory_arg_cmp};
grpc_arg grpc_client_channel_factory_create_channel_arg(
- grpc_client_channel_factory *factory) {
+ grpc_client_channel_factory* factory) {
grpc_arg arg;
arg.type = GRPC_ARG_POINTER;
arg.key = GRPC_ARG_CLIENT_CHANNEL_FACTORY;
diff --git a/src/core/ext/client_channel/http_connect_handshaker.c b/src/core/ext/client_channel/http_connect_handshaker.c
index cf10dfb3e9..76c78ee853 100644
--- a/src/core/ext/client_channel/http_connect_handshaker.c
+++ b/src/core/ext/client_channel/http_connect_handshaker.c
@@ -269,7 +269,7 @@ static void http_connect_handshaker_do_handshake(
const grpc_arg* arg = grpc_channel_args_find(args->args, GRPC_ARG_SERVER_URI);
GPR_ASSERT(arg != NULL);
GPR_ASSERT(arg->type == GRPC_ARG_STRING);
- char *canonical_uri =
+ char* canonical_uri =
grpc_resolver_factory_add_default_prefix_if_needed(arg->value.string);
grpc_uri* uri = grpc_uri_parse(canonical_uri, 1);
char* server_name = uri->path;