also set got_message

pull/501/head
Yang Gao 10 years ago
parent 467d7bd414
commit caa5106c4f
  1. 2
      src/cpp/common/call.cc

@ -255,7 +255,7 @@ void CallOpBuffer::FinalizeResult(void** tag, bool* status) {
// Parse received message if any.
if (recv_message_) {
if (recv_message_buf_) {
got_message = true;
got_message = *status;
*status = *status && DeserializeProto(recv_message_buf_, recv_message_);
grpc_byte_buffer_destroy(recv_message_buf_);
recv_message_buf_ = nullptr;

Loading…
Cancel
Save