Skip to content

Commit

Permalink
Merge pull request grpc#15078 from mehrdada/upmerge-1110
Browse files Browse the repository at this point in the history
Upmerge v1.11.x into master
  • Loading branch information
mehrdada authored Apr 17, 2018
2 parents 8e6e89c + 81a7c53 commit 1f13655
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -135,6 +135,7 @@ AresDnsResolver::AresDnsResolver(const ResolverArgs& args)
if (path[0] == '/') ++path;
name_to_resolve_ = gpr_strdup(path);
// Get DNS server from URI authority.
dns_server_ = nullptr;
if (0 != strcmp(args.uri->authority, "")) {
dns_server_ = gpr_strdup(args.uri->authority);
}
Expand Down

0 comments on commit 1f13655

Please sign in to comment.