diff options
author | Yash Tibrewal <yashkt@google.com> | 2017-07-19 17:43:30 -0700 |
---|---|---|
committer | Yash Tibrewal <yashkt@google.com> | 2017-07-19 17:43:30 -0700 |
commit | a74ea8602d60bfdf4d99642e6c72573b803e69dc (patch) | |
tree | 00a44f873eb1e3493322576df713cb072c3e5c45 /src | |
parent | 78d7125017951d17b4e9ee2b8d184c5beed65d7c (diff) |
Nit correction
Diffstat (limited to 'src')
-rw-r--r-- | src/core/ext/filters/client_channel/http_proxy.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/core/ext/filters/client_channel/http_proxy.c b/src/core/ext/filters/client_channel/http_proxy.c index a8a23ceb9e..2e2471e68d 100644 --- a/src/core/ext/filters/client_channel/http_proxy.c +++ b/src/core/ext/filters/client_channel/http_proxy.c @@ -36,8 +36,8 @@ /** * Parses the 'http_proxy' env var and returns the proxy hostname to resolve or - * NULL on error. Also sets 'user_cred' if it is not NULL to user credentials - * if present in the 'http_proxy' env var. + * NULL on error. Also sets 'user_cred' to user credentials present in the + * 'http_proxy' env var, NULL if not present. */ static char *grpc_get_http_proxy_server(grpc_exec_ctx* exec_ctx, char **user_cred) { @@ -61,7 +61,7 @@ static char *grpc_get_http_proxy_server(grpc_exec_ctx* exec_ctx, char **authority_strs = NULL; size_t authority_nstrs; gpr_string_split(uri->authority, "@", &authority_strs, &authority_nstrs); - GPR_ASSERT(authority_nstrs != 0); /* should have atleast 1 string */ + GPR_ASSERT(authority_nstrs != 0); /* should have at least 1 string */ if(authority_nstrs == 1) { /* User cred not present in authority */ proxy_name = gpr_strdup(authority_strs[0]); |