aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/cpp/common
diff options
context:
space:
mode:
authorGravatar Craig Tiller <craig.tiller@gmail.com>2015-02-11 16:50:09 -0800
committerGravatar Craig Tiller <craig.tiller@gmail.com>2015-02-11 16:50:09 -0800
commit39550b6c4c71030ad48051e021cd03a0bf416a65 (patch)
treefb8abf8b35c450c45ea75116306302601fa8ade3 /src/cpp/common
parent47a573602a27e718a7f13d5a9cceed7519e42234 (diff)
parent968ca530b2eaa20715793861453f96dcfd075c53 (diff)
Merge pull request #9 from yang-g/c++api
Add trailing metadata to client context and use it.
Diffstat (limited to 'src/cpp/common')
-rw-r--r--src/cpp/common/call.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cpp/common/call.cc b/src/cpp/common/call.cc
index 84791aa0a4..ffbc599d57 100644
--- a/src/cpp/common/call.cc
+++ b/src/cpp/common/call.cc
@@ -119,7 +119,7 @@ void CallOpBuffer::AddSendInitialMetadata(
}
void CallOpBuffer::AddSendInitialMetadata(ClientContext *ctx) {
- AddSendInitialMetadata(&ctx->metadata_);
+ AddSendInitialMetadata(&ctx->send_initial_metadata_);
}
void CallOpBuffer::AddSendMessage(const google::protobuf::Message& message) {