coding style update

pull/17116/head
Zdeněk Sojma 6 years ago
parent c2ddef218f
commit 43279fc50b
  1. 4
      src/core/ext/filters/client_channel/http_proxy.cc

@ -126,9 +126,7 @@ static bool proxy_mapper_map_name(grpc_proxy_mapper* mapper,
}
/* Prefer using 'no_grpc_proxy'. Fallback on 'no_proxy' if it is not set. */
no_proxy_str = gpr_getenv("no_grpc_proxy");
if (no_proxy_str == nullptr) {
no_proxy_str = gpr_getenv("no_proxy");
}
if (no_proxy_str == nullptr) no_proxy_str = gpr_getenv("no_proxy");
if (no_proxy_str != nullptr) {
static const char* NO_PROXY_SEPARATOR = ",";
bool use_proxy = true;

Loading…
Cancel
Save