Skip to content
Snippets Groups Projects
Commit b35ccf50 authored by Craig Tiller's avatar Craig Tiller
Browse files

Merge pull request #3405 from dgquintas/they_see_me_branching

Removed spurious predicate from if branch
parents ed299d18 f065c744
No related branches found
No related tags found
No related merge requests found
...@@ -111,8 +111,7 @@ static grpc_mdelem *server_filter(void *user_data, grpc_mdelem *md) { ...@@ -111,8 +111,7 @@ static grpc_mdelem *server_filter(void *user_data, grpc_mdelem *md) {
return NULL; return NULL;
} else if (md->key == channeld->te_trailers->key || } else if (md->key == channeld->te_trailers->key ||
md->key == channeld->method_post->key || md->key == channeld->method_post->key ||
md->key == channeld->http_scheme->key || md->key == channeld->http_scheme->key) {
md->key == channeld->content_type->key) {
gpr_log(GPR_ERROR, "Invalid %s: header: '%s'", gpr_log(GPR_ERROR, "Invalid %s: header: '%s'",
grpc_mdstr_as_c_string(md->key), grpc_mdstr_as_c_string(md->value)); grpc_mdstr_as_c_string(md->key), grpc_mdstr_as_c_string(md->value));
/* swallow it and error everything out. */ /* swallow it and error everything out. */
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment