aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/core/channel/http_server_filter.c
diff options
context:
space:
mode:
authorGravatar Craig Tiller <ctiller@google.com>2015-09-24 13:58:16 -0700
committerGravatar Craig Tiller <ctiller@google.com>2015-09-24 13:58:16 -0700
commit8dc09711330ad675d90021e1a7c525cc57d3d956 (patch)
treeb239706af1471312e84208d765fe237cc872d387 /src/core/channel/http_server_filter.c
parent7f0273fd02ba134fdf2b2cd533a47a18223ff970 (diff)
parent2c6206c32d09453a49723bae051fdd688b902265 (diff)
Merge github.com:grpc/grpc into shindig
Diffstat (limited to 'src/core/channel/http_server_filter.c')
-rw-r--r--src/core/channel/http_server_filter.c9
1 files changed, 5 insertions, 4 deletions
diff --git a/src/core/channel/http_server_filter.c b/src/core/channel/http_server_filter.c
index 02a351d7b1..549c1da580 100644
--- a/src/core/channel/http_server_filter.c
+++ b/src/core/channel/http_server_filter.c
@@ -206,12 +206,13 @@ static void hs_mutate_op(grpc_call_element *elem,
size_t nops = op->send_ops->nops;
grpc_stream_op *ops = op->send_ops->ops;
for (i = 0; i < nops; i++) {
- grpc_stream_op *op = &ops[i];
- if (op->type != GRPC_OP_METADATA) continue;
+ grpc_stream_op *stream_op = &ops[i];
+ if (stream_op->type != GRPC_OP_METADATA) continue;
calld->sent_status = 1;
- grpc_metadata_batch_add_head(&op->data.metadata, &calld->status,
+ grpc_metadata_batch_add_head(&stream_op->data.metadata, &calld->status,
GRPC_MDELEM_REF(channeld->status_ok));
- grpc_metadata_batch_add_tail(&op->data.metadata, &calld->content_type,
+ grpc_metadata_batch_add_tail(&stream_op->data.metadata,
+ &calld->content_type,
GRPC_MDELEM_REF(channeld->content_type));
break;
}