diff options
author | Yang Gao <yangg@google.com> | 2015-02-17 12:09:14 -0800 |
---|---|---|
committer | Yang Gao <yangg@google.com> | 2015-02-17 12:09:14 -0800 |
commit | caa5106c4f80e408a282693ad0197d8b45611d6e (patch) | |
tree | c53d4f34a660d8de1f3c7e0b9ac33630a87d583d /src | |
parent | 467d7bd414238427c051a44316d64d267c068ea3 (diff) |
also set got_message
Diffstat (limited to 'src')
-rw-r--r-- | src/cpp/common/call.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cpp/common/call.cc b/src/cpp/common/call.cc index 70daa6a3b0..f1142cf8e5 100644 --- a/src/cpp/common/call.cc +++ b/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; |