aboutsummaryrefslogtreecommitdiffhomepage
path: root/include/grpc++/stream.h
diff options
context:
space:
mode:
authorGravatar Craig Tiller <ctiller@google.com>2015-06-17 09:15:48 -0700
committerGravatar Craig Tiller <ctiller@google.com>2015-06-17 09:15:48 -0700
commitbf8ac3f4060a77ecb2c5d75acffb9d1fd070531c (patch)
tree3ddd49e1e4169bcee662f27cc4d76f7c138ac823 /include/grpc++/stream.h
parent4c32de585a0f95139d0c2487bc4f4dc954ed2be7 (diff)
parent44a1dd36f5370cf62385ac6701bd0bd3bd160d46 (diff)
Merge branch 'you-complete-me' into we-dont-need-no-backup
Diffstat (limited to 'include/grpc++/stream.h')
-rw-r--r--include/grpc++/stream.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/grpc++/stream.h b/include/grpc++/stream.h
index c836f98c2a..472911e62b 100644
--- a/include/grpc++/stream.h
+++ b/include/grpc++/stream.h
@@ -615,7 +615,7 @@ class ServerAsyncReader GRPC_FINAL : public ServerAsyncStreamingInterface,
ctx_->sent_initial_metadata_ = true;
}
// The response is dropped if the status is not OK.
- if (status.IsOk()) {
+ if (status.ok()) {
finish_buf_.AddSendMessage(msg);
}
finish_buf_.AddServerSendStatus(&ctx_->trailing_metadata_, status);
@@ -623,7 +623,7 @@ class ServerAsyncReader GRPC_FINAL : public ServerAsyncStreamingInterface,
}
void FinishWithError(const Status& status, void* tag) {
- GPR_ASSERT(!status.IsOk());
+ GPR_ASSERT(!status.ok());
finish_buf_.Reset(tag);
if (!ctx_->sent_initial_metadata_) {
finish_buf_.AddSendInitialMetadata(&ctx_->initial_metadata_);