aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/core/client_config/resolvers
diff options
context:
space:
mode:
authorGravatar Hongwei Wang <hongweiw@google.com>2015-07-21 16:20:27 -0700
committerGravatar Hongwei Wang <hongweiw@google.com>2015-07-21 16:20:27 -0700
commitca2e32d12d1e16569411a55f58cdbba10a71aed7 (patch)
treec05778ec84e79fdafa34694d105524aafe0d1a37 /src/core/client_config/resolvers
parent3e50659c43fbe8b3d480939091fed651067af4fd (diff)
Minor fix on comments
Diffstat (limited to 'src/core/client_config/resolvers')
-rw-r--r--src/core/client_config/resolvers/zookeeper_resolver.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/core/client_config/resolvers/zookeeper_resolver.c b/src/core/client_config/resolvers/zookeeper_resolver.c
index 9e523d0df6..c7eb760fe9 100644
--- a/src/core/client_config/resolvers/zookeeper_resolver.c
+++ b/src/core/client_config/resolvers/zookeeper_resolver.c
@@ -275,6 +275,7 @@ static void zookeeper_get_children_completion(int rc, const struct String_vector
char path[GRPC_MAX_ZOOKEEPER_BUFFER_SIZE];
int i;
zookeeper_resolver *r = (zookeeper_resolver *)arg;
+
if (rc) {
gpr_log(GPR_ERROR, "Error in getting zookeeper children of %s", r->name);
return;
@@ -317,7 +318,7 @@ static void zookeeper_get_node_completion(int rc, const char *value, int value_l
return;
}
- /* If zookeeper node r->name does not have address (i.e. service node),
+ /* If zookeeper node of path r->name does not have address (i.e. service node),
get its children */
address = zookeeper_parse_address((char *)value, value_len);
if (address != NULL) {