diff options
author | Sree Kuchibhotla <sreek@google.com> | 2016-05-03 09:33:13 -0700 |
---|---|---|
committer | Sree Kuchibhotla <sreek@google.com> | 2016-05-03 09:33:13 -0700 |
commit | b69251c2f6868c4d839dfae05293e10cbb90060e (patch) | |
tree | 6ef55ad71ccf3d7c882276de17b49bba9806f559 /include/grpc++ | |
parent | a2b549578f94de1bf4735a26c9fc4516b96bbdaa (diff) | |
parent | 6bac7d3467c99dccc30e8447bc84237bb54b99fe (diff) |
Merge branch 'master' into server_channel_affinity
Diffstat (limited to 'include/grpc++')
-rw-r--r-- | include/grpc++/impl/codegen/call.h | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/include/grpc++/impl/codegen/call.h b/include/grpc++/impl/codegen/call.h index aea1a6acec..d081b7d9c5 100644 --- a/include/grpc++/impl/codegen/call.h +++ b/include/grpc++/impl/codegen/call.h @@ -281,10 +281,9 @@ class CallOpRecvMessage { if (message_ == nullptr) return; if (recv_buf_) { if (*status) { - got_message = true; - *status = SerializationTraits<R>::Deserialize(recv_buf_, message_, - max_message_size) - .ok(); + got_message = *status = SerializationTraits<R>::Deserialize( + recv_buf_, message_, max_message_size) + .ok(); } else { got_message = false; g_core_codegen_interface->grpc_byte_buffer_destroy(recv_buf_); |