aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/core/transport/chttp2
diff options
context:
space:
mode:
authorGravatar David Garcia Quintas <dgq@google.com>2015-07-08 00:16:50 -0700
committerGravatar David Garcia Quintas <dgq@google.com>2015-07-08 00:16:50 -0700
commita01f7a41cc1153bba33420a31281a5a2eb14c407 (patch)
treeb35bf2e2dc99086b50712e0bed60ea8250c9ab33 /src/core/transport/chttp2
parent20afd46db876d5b2e68a6ef0ad007565c7d16217 (diff)
More comments
Diffstat (limited to 'src/core/transport/chttp2')
-rw-r--r--src/core/transport/chttp2/stream_encoder.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/transport/chttp2/stream_encoder.c b/src/core/transport/chttp2/stream_encoder.c
index d0a17af5da..243e4cbbda 100644
--- a/src/core/transport/chttp2/stream_encoder.c
+++ b/src/core/transport/chttp2/stream_encoder.c
@@ -497,7 +497,7 @@ gpr_uint32 grpc_chttp2_preencode(grpc_stream_op *inops, size_t *inops_count,
/* begin op: for now we just convert the op to a slice and fall
through - this lets us reuse the slice framing code below */
compressed_flag_set =
- !!(op->data.begin_message.flags & GRPC_WRITE_INTERNAL_COMPRESS);
+ (op->data.begin_message.flags & GRPC_WRITE_INTERNAL_COMPRESS) != 0;
slice = gpr_slice_malloc(5);
p = GPR_SLICE_START_PTR(slice);