Skip to content
Snippets Groups Projects
Commit 075b18e7 authored by Vijay Pai's avatar Vijay Pai
Browse files

Bug fix on failure condition

parent 65a9ef16
No related branches found
No related tags found
No related merge requests found
...@@ -606,7 +606,7 @@ class ServerSplitStreamer GRPC_FINAL ...@@ -606,7 +606,7 @@ class ServerSplitStreamer GRPC_FINAL
using WriterInterface<ResponseType>::Write; using WriterInterface<ResponseType>::Write;
bool Write(const ResponseType& response, bool Write(const ResponseType& response,
const WriteOptions& options) GRPC_OVERRIDE { const WriteOptions& options) GRPC_OVERRIDE {
return !read_done_ && body_.Write(response, options); return read_done_ && body_.Write(response, options);
} }
private: private:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment