aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/core/ext
diff options
context:
space:
mode:
authorGravatar Mark D. Roth <roth@google.com>2017-01-18 14:04:01 -0800
committerGravatar Mark D. Roth <roth@google.com>2017-01-18 14:04:01 -0800
commit45ccec5cee9d0781ef519a5f4434cfa02d4ca74f (patch)
tree19bf045a833d0f15ee6e3feec0480c9672c0a950 /src/core/ext
parent1339a389e23e1a917cdfaa8bf9734b4a1af57266 (diff)
clang-format
Diffstat (limited to 'src/core/ext')
-rw-r--r--src/core/ext/client_channel/client_channel.c9
1 files changed, 4 insertions, 5 deletions
diff --git a/src/core/ext/client_channel/client_channel.c b/src/core/ext/client_channel/client_channel.c
index 3c03aa1eac..fdb954b2ec 100644
--- a/src/core/ext/client_channel/client_channel.c
+++ b/src/core/ext/client_channel/client_channel.c
@@ -547,11 +547,10 @@ static grpc_error *cc_init_channel_elem(grpc_exec_ctx *exec_ctx,
GPR_ASSERT(arg->type == GRPC_ARG_STRING);
chand->server_name = gpr_strdup(arg->value.string);
chand->proxy_name = grpc_get_http_proxy_server();
- char* name_to_resolve = chand->proxy_name == NULL
- ? chand->server_name : chand->proxy_name;
- chand->resolver =
- grpc_resolver_create(exec_ctx, name_to_resolve, args->channel_args,
- chand->interested_parties);
+ char *name_to_resolve =
+ chand->proxy_name == NULL ? chand->server_name : chand->proxy_name;
+ chand->resolver = grpc_resolver_create(
+ exec_ctx, name_to_resolve, args->channel_args, chand->interested_parties);
if (chand->resolver == NULL) {
return GRPC_ERROR_CREATE("resolver creation failed");
}