aboutsummaryrefslogtreecommitdiffhomepage
path: root/src
diff options
context:
space:
mode:
authorGravatar Yang Gao <yangg@google.com>2015-03-19 13:35:49 -0700
committerGravatar Yang Gao <yangg@google.com>2015-03-19 13:35:49 -0700
commit993d540e375e067233d8058fa05b2a81c591ba36 (patch)
tree14cd4f7b69f66eed117f4737ad26a9c347f87aa8 /src
parentd1b9e64b2d000ecea89daa80a9662129e83f3cee (diff)
covert test to use generic stub
Diffstat (limited to 'src')
-rw-r--r--src/cpp/common/call.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/cpp/common/call.cc b/src/cpp/common/call.cc
index ebe7deec70..7119011ec4 100644
--- a/src/cpp/common/call.cc
+++ b/src/cpp/common/call.cc
@@ -183,6 +183,7 @@ void CallOpBuffer::AddRecvMessage(grpc::protobuf::Message* message) {
void CallOpBuffer::AddRecvMessage(ByteBuffer* message) {
recv_message_buffer_ = message;
+ recv_message_buffer_->Clear();
}
void CallOpBuffer::AddClientSendClose() { client_send_close_ = true; }