aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorGravatar Craig Tiller <ctiller@google.com>2016-12-05 11:07:58 -0800
committerGravatar Craig Tiller <ctiller@google.com>2016-12-05 11:07:58 -0800
commit504ae4347bee3589f6695dff4e28a1d7e40b8f59 (patch)
tree1730cceb067c20e0470271e68e81edaebf02e1e5
parente5b661ec140e86ff8425172ac858bb22f7eeae22 (diff)
Add parens
-rw-r--r--src/core/ext/transport/chttp2/transport/chttp2_transport.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/core/ext/transport/chttp2/transport/chttp2_transport.c b/src/core/ext/transport/chttp2/transport/chttp2_transport.c
index 22e63d7682..f995d2180e 100644
--- a/src/core/ext/transport/chttp2/transport/chttp2_transport.c
+++ b/src/core/ext/transport/chttp2/transport/chttp2_transport.c
@@ -876,9 +876,9 @@ void grpc_chttp2_complete_closure_step(grpc_exec_ctx *exec_ctx,
grpc_transport_move_stats(&s->stats, s->collecting_stats);
s->collecting_stats = NULL;
}
- if (t->write_state == GRPC_CHTTP2_WRITE_STATE_IDLE ||
- (closure->next_data.scratch & CLOSURE_BARRIER_CANNOT_RUN_WITH_WRITE) ==
- 0) {
+ if ((t->write_state == GRPC_CHTTP2_WRITE_STATE_IDLE) ||
+ ((closure->next_data.scratch & CLOSURE_BARRIER_CANNOT_RUN_WITH_WRITE) ==
+ 0)) {
grpc_closure_run(exec_ctx, closure, closure->error_data.error);
} else {
grpc_closure_list_append(&t->run_after_write, closure,