clang format code

pull/22001/head
Jan Tattermusch 5 years ago
parent f4c53f5e62
commit bd450a3146
  1. 3
      test/core/iomgr/resolve_address_posix_test.cc
  2. 3
      test/core/iomgr/resolve_address_test.cc

@ -233,7 +233,8 @@ int main(int argc, char** argv) {
}
if (resolver_type != nullptr && gpr_stricmp(resolver_type, "native") == 0) {
GPR_GLOBAL_CONFIG_SET(grpc_dns_resolver, "native");
} else if (resolver_type != nullptr && gpr_stricmp(resolver_type, "ares") == 0) {
} else if (resolver_type != nullptr &&
gpr_stricmp(resolver_type, "ares") == 0) {
GPR_GLOBAL_CONFIG_SET(grpc_dns_resolver, "ares");
} else {
gpr_log(GPR_ERROR, "--resolver_type was not set to ares or native");

@ -355,7 +355,8 @@ int main(int argc, char** argv) {
}
if (resolver_type != nullptr && gpr_stricmp(resolver_type, "native") == 0) {
GPR_GLOBAL_CONFIG_SET(grpc_dns_resolver, "native");
} else if (resolver_type != nullptr && gpr_stricmp(resolver_type, "ares") == 0) {
} else if (resolver_type != nullptr &&
gpr_stricmp(resolver_type, "ares") == 0) {
#ifndef GRPC_UV
GPR_GLOBAL_CONFIG_SET(grpc_dns_resolver, "ares");
#endif

Loading…
Cancel
Save