diff options
author | Craig Tiller <ctiller@google.com> | 2017-03-29 14:09:58 -0700 |
---|---|---|
committer | Craig Tiller <ctiller@google.com> | 2017-03-29 14:09:58 -0700 |
commit | 18cf15758c34d99eb65f7f6847bc8da7e142a0df (patch) | |
tree | c1103f6535e35a0c1863200ee3b1c0b6f96305a9 | |
parent | 220861eb56c2f64da8abba8eddd1bf91cca8d102 (diff) |
Fix compile
-rw-r--r-- | src/core/ext/transport/chttp2/transport/chttp2_transport.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/core/ext/transport/chttp2/transport/chttp2_transport.c b/src/core/ext/transport/chttp2/transport/chttp2_transport.c index 15ef44f6fe..9979cf8eaa 100644 --- a/src/core/ext/transport/chttp2/transport/chttp2_transport.c +++ b/src/core/ext/transport/chttp2/transport/chttp2_transport.c @@ -1230,8 +1230,9 @@ static void perform_stream_op_locked(grpc_exec_ctx *exec_ctx, void *stream_op, GPR_ASSERT(s->id != 0); grpc_chttp2_stream_write_type write_type = GRPC_CHTTP2_STREAM_WRITE_INITIATE_COVERED; - if (op->send_message != NULL && - (op->send_message->flags & GRPC_WRITE_BUFFER_HINT)) { + if (op->send_message && + (op->payload->send_message.send_message->flags & + GRPC_WRITE_BUFFER_HINT)) { write_type = GRPC_CHTTP2_STREAM_WRITE_PIGGYBACK; } grpc_chttp2_become_writable(exec_ctx, t, s, write_type, |