From c19049c39d151150d1947256a8d4a477bea16927 Mon Sep 17 00:00:00 2001 From: "Mark D. Roth" Date: Thu, 10 Nov 2016 09:43:06 -0800 Subject: clang-format --- src/core/ext/client_channel/client_channel.c | 4 ++-- src/core/ext/lb_policy/grpclb/grpclb.c | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) (limited to 'src/core/ext') diff --git a/src/core/ext/client_channel/client_channel.c b/src/core/ext/client_channel/client_channel.c index a92a220c74..bbc698abda 100644 --- a/src/core/ext/client_channel/client_channel.c +++ b/src/core/ext/client_channel/client_channel.c @@ -102,9 +102,9 @@ static void *method_parameters_create_from_json(const grpc_json *json) { if (field->type != GRPC_JSON_STRING) return NULL; size_t len = strlen(field->value); if (field->value[len - 1] != 's') return NULL; - char* buf = gpr_strdup(field->value); + char *buf = gpr_strdup(field->value); buf[len - 1] = '\0'; // Remove trailing 's'. - char* decimal_point = strchr(buf, '.'); + char *decimal_point = strchr(buf, '.'); if (decimal_point != NULL) { *decimal_point = '\0'; timeout.tv_nsec = gpr_parse_nonnegative_int(decimal_point + 1); diff --git a/src/core/ext/lb_policy/grpclb/grpclb.c b/src/core/ext/lb_policy/grpclb/grpclb.c index d68fbb3dfb..44ac9a017e 100644 --- a/src/core/ext/lb_policy/grpclb/grpclb.c +++ b/src/core/ext/lb_policy/grpclb/grpclb.c @@ -1155,8 +1155,8 @@ static void lb_on_response_received(grpc_exec_ctx *exec_ctx, void *arg, } gpr_mu_unlock(&glb_policy->mu); } else { /* empty payload: call cancelled. */ - /* dispose of the "lb_on_response_received" weak ref taken in - * query_for_backends_locked() and reused in every reception loop */ + /* dispose of the "lb_on_response_received" weak ref taken in + * query_for_backends_locked() and reused in every reception loop */ gpr_mu_unlock(&glb_policy->mu); GRPC_LB_POLICY_WEAK_UNREF(exec_ctx, &glb_policy->base, "lb_on_response_received_empty_payload"); -- cgit v1.2.3