diff options
author | David Garcia Quintas <dgq@google.com> | 2015-09-21 18:21:55 -0700 |
---|---|---|
committer | David Garcia Quintas <dgq@google.com> | 2015-09-21 18:21:55 -0700 |
commit | f065c744e3396afd5ef34f602c4d5cec1341c96d (patch) | |
tree | 996c3999cd8765b478e4c6c71f15113ad737671e /src/core/channel | |
parent | 5b7f6c91028acd82e4473cf80c04f1324ca4a8ee (diff) |
Removed spurious predicate from if branch
the channeld->content_type->key is already consumed by the preceding if.
Diffstat (limited to 'src/core/channel')
-rw-r--r-- | src/core/channel/http_server_filter.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/core/channel/http_server_filter.c b/src/core/channel/http_server_filter.c index 2f061946a1..9898efd608 100644 --- a/src/core/channel/http_server_filter.c +++ b/src/core/channel/http_server_filter.c @@ -111,8 +111,7 @@ static grpc_mdelem *server_filter(void *user_data, grpc_mdelem *md) { return NULL; } else if (md->key == channeld->te_trailers->key || md->key == channeld->method_post->key || - md->key == channeld->http_scheme->key || - md->key == channeld->content_type->key) { + md->key == channeld->http_scheme->key) { gpr_log(GPR_ERROR, "Invalid %s: header: '%s'", grpc_mdstr_as_c_string(md->key), grpc_mdstr_as_c_string(md->value)); /* swallow it and error everything out. */ |