diff options
author | Yuchen Zeng <zyc@google.com> | 2016-10-14 11:41:28 -0700 |
---|---|---|
committer | Yuchen Zeng <zyc@google.com> | 2016-10-14 11:41:28 -0700 |
commit | b2fc7a7fe285fab09e5ca219bc92746cb268c9ae (patch) | |
tree | de58b88e2b9ede22e63e21a7018f534555744a08 /src | |
parent | 9e2c5d4232e698cf3bf39729d7d4699c60852212 (diff) |
Rename the resolver vtable
Diffstat (limited to 'src')
-rw-r--r-- | src/core/ext/resolver/dns/c_ares/dns_resolver_ares.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/core/ext/resolver/dns/c_ares/dns_resolver_ares.c b/src/core/ext/resolver/dns/c_ares/dns_resolver_ares.c index 0887ad29c8..935d39ab65 100644 --- a/src/core/ext/resolver/dns/c_ares/dns_resolver_ares.c +++ b/src/core/ext/resolver/dns/c_ares/dns_resolver_ares.c @@ -103,7 +103,7 @@ static void dns_ares_next(grpc_exec_ctx *exec_ctx, grpc_resolver *r, grpc_resolver_result **target_result, grpc_closure *on_complete); -static const grpc_resolver_vtable dns_resolver_vtable = { +static const grpc_resolver_vtable dns_ares_resolver_vtable = { dns_ares_destroy, dns_ares_shutdown, dns_ares_channel_saw_error, dns_ares_next}; @@ -298,7 +298,7 @@ static grpc_resolver *dns_ares_create(grpc_resolver_args *args, r = gpr_malloc(sizeof(dns_resolver)); memset(r, 0, sizeof(*r)); gpr_mu_init(&r->mu); - grpc_resolver_init(&r->base, &dns_resolver_vtable); + grpc_resolver_init(&r->base, &dns_ares_resolver_vtable); r->target_name = gpr_strdup(path); r->name_to_resolve = proxy_name == NULL ? gpr_strdup(path) : proxy_name; r->default_port = gpr_strdup(default_port); |