diff options
author | Craig Tiller <ctiller@google.com> | 2016-04-13 19:47:27 -0700 |
---|---|---|
committer | Craig Tiller <ctiller@google.com> | 2016-04-13 19:47:27 -0700 |
commit | 24d687edf3ec3c3dc88aaadbe1d98e6c4356c11b (patch) | |
tree | 00e74ced1e2073f12941150f52fe7d77dd1fd0a1 /src/core/ext/resolver/zookeeper | |
parent | e62826125b63edc9a2e75e6c8479c9289385adca (diff) |
Single thread fake name resolution for fuzzing
Diffstat (limited to 'src/core/ext/resolver/zookeeper')
-rw-r--r-- | src/core/ext/resolver/zookeeper/zookeeper_resolver.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/core/ext/resolver/zookeeper/zookeeper_resolver.c b/src/core/ext/resolver/zookeeper/zookeeper_resolver.c index 898632c3cd..aa0b4bcede 100644 --- a/src/core/ext/resolver/zookeeper/zookeeper_resolver.c +++ b/src/core/ext/resolver/zookeeper/zookeeper_resolver.c @@ -299,7 +299,7 @@ static void zookeeper_get_children_node_completion(int rc, const char *value, address = zookeeper_parse_address(value, (size_t)value_len); if (address != NULL) { /** Further resolves address by DNS */ - grpc_resolve_address(address, NULL, zookeeper_dns_resolved, r); + grpc_resolve_address(&exec_ctx, address, NULL, zookeeper_dns_resolved, r); gpr_free(address); } else { gpr_log(GPR_ERROR, "Error in resolving a child node of %s", r->name); @@ -375,7 +375,7 @@ static void zookeeper_get_node_completion(int rc, const char *value, r->resolved_addrs->naddrs = 0; r->resolved_total = 1; /** Further resolves address by DNS */ - grpc_resolve_address(address, NULL, zookeeper_dns_resolved, r); + grpc_resolve_address(&exec_ctx, address, NULL, zookeeper_dns_resolved, r); gpr_free(address); return; } |