aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/core/ext/transport/cronet
diff options
context:
space:
mode:
authorGravatar Muxi Yan <mxyan@google.com>2017-01-20 18:57:50 -0800
committerGravatar Muxi Yan <mxyan@google.com>2017-01-20 18:57:50 -0800
commite0016e2dc6fbcc090fac0a1597c06680be018e9f (patch)
tree4a060d5e025cb58a4854eade82294a385baf668c /src/core/ext/transport/cronet
parent289f0fed89eabf019eee4f92fc838c86d943de01 (diff)
clang-format
Diffstat (limited to 'src/core/ext/transport/cronet')
-rw-r--r--src/core/ext/transport/cronet/transport/cronet_transport.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/core/ext/transport/cronet/transport/cronet_transport.c b/src/core/ext/transport/cronet/transport/cronet_transport.c
index b7c33b7b66..d4daf5fcb9 100644
--- a/src/core/ext/transport/cronet/transport/cronet_transport.c
+++ b/src/core/ext/transport/cronet/transport/cronet_transport.c
@@ -856,9 +856,10 @@ static enum e_op_result execute_stream_op(grpc_exec_ctx *exec_ctx,
CRONET_LOG(GPR_DEBUG, "bidirectional_stream_start(%p, %s)", s->cbs, url);
bidirectional_stream_start(s->cbs, url, 0, method, &s->header_array, false);
int header_index;
- for (header_index = 0; header_index < s->header_array.count; header_index++) {
- gpr_free((void*)s->header_array.headers[header_index].key);
- gpr_free((void*)s->header_array.headers[header_index].value);
+ for (header_index = 0; header_index < s->header_array.count;
+ header_index++) {
+ gpr_free((void *)s->header_array.headers[header_index].key);
+ gpr_free((void *)s->header_array.headers[header_index].value);
}
stream_state->state_op_done[OP_SEND_INITIAL_METADATA] = true;
result = ACTION_TAKEN_WITH_CALLBACK;