Fix the hard conversion problem in cronet_transport.c

pull/10471/head
Muxi Yan 8 years ago
parent c02f36bc9e
commit e800e1c5d0
  1. 2
      src/core/ext/transport/cronet/transport/cronet_transport.c

@ -1178,7 +1178,7 @@ static enum e_op_result execute_stream_op(grpc_exec_ctx *exec_ctx,
if (stream_state->rs.compressed) {
stream_state->rs.sbs.base.flags = GRPC_WRITE_INTERNAL_COMPRESS;
}
*((grpc_byte_buffer **)stream_op->recv_message) =
*((grpc_byte_buffer **)stream_op->payload->recv_message.recv_message) =
(grpc_byte_buffer *)&stream_state->rs.sbs;
grpc_closure_sched(exec_ctx,
stream_op->payload->recv_message.recv_message_ready,

Loading…
Cancel
Save