diff options
author | 2017-07-25 13:28:45 -0700 | |
---|---|---|
committer | 2017-07-27 12:16:06 -0700 | |
commit | f630ff255555b5f3e752e24fa9e4494b223a2a4b (patch) | |
tree | beaf87e83396eabf33b806db599489bd7aa45df1 /src/core/ext | |
parent | bc6637756c7966106db65a453209c4e34d78c439 (diff) |
Update build.yaml, fix format
Diffstat (limited to 'src/core/ext')
-rw-r--r-- | src/core/ext/filters/client_channel/resolver/dns/c_ares/grpc_ares_wrapper.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/src/core/ext/filters/client_channel/resolver/dns/c_ares/grpc_ares_wrapper.c b/src/core/ext/filters/client_channel/resolver/dns/c_ares/grpc_ares_wrapper.c index 749dde8a0b..6ec3790a5f 100644 --- a/src/core/ext/filters/client_channel/resolver/dns/c_ares/grpc_ares_wrapper.c +++ b/src/core/ext/filters/client_channel/resolver/dns/c_ares/grpc_ares_wrapper.c @@ -38,8 +38,8 @@ #include "src/core/ext/filters/client_channel/resolver/dns/c_ares/grpc_ares_ev_driver.h" #include "src/core/lib/iomgr/error.h" #include "src/core/lib/iomgr/executor.h" -#include "src/core/lib/iomgr/nameser.h" #include "src/core/lib/iomgr/iomgr_internal.h" +#include "src/core/lib/iomgr/nameser.h" #include "src/core/lib/iomgr/sockaddr_utils.h" #include "src/core/lib/support/string.h" @@ -358,9 +358,6 @@ static grpc_ares_request *grpc_dns_lookup_ares_impl( grpc_ares_request_ref(r); char *service_name; gpr_asprintf(&service_name, "_grpclb._tcp.%s", host); - // see: RFC 1035, section 3.2.4. CLASS values - const int ns_c_in = 1; // internet - const int ns_t_srv = 33; // SRV record (RFC 2782) ares_query(*channel, service_name, ns_c_in, ns_t_srv, on_srv_query_done_cb, r); gpr_free(service_name); |