diff options
author | Craig Tiller <ctiller@google.com> | 2015-02-09 10:50:20 -0800 |
---|---|---|
committer | Craig Tiller <ctiller@google.com> | 2015-02-09 10:50:20 -0800 |
commit | 82ee98cc0d1ecc89b6a9d697087c3348fad7f6d5 (patch) | |
tree | 8124bb950d813ca0114ee1798eacc42d763259ed | |
parent | df2c957eee7f5906dcbb174bee2ae4652c268d3b (diff) |
Fix compile error
-rw-r--r-- | src/cpp/common/completion_queue.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cpp/common/completion_queue.cc b/src/cpp/common/completion_queue.cc index 383b66c519..a68c807dd2 100644 --- a/src/cpp/common/completion_queue.cc +++ b/src/cpp/common/completion_queue.cc @@ -65,7 +65,7 @@ bool CompletionQueue::Next(void **tag, bool *ok) { auto cq_tag = static_cast<CompletionQueueTag *>(ev->tag); cq_tag->FinalizeResult(); *tag = cq_tag->user_tag_; - *ok = ev->status.op_complete == GRPC_OP_OK; + *ok = ev->data.op_complete == GRPC_OP_OK; return true; } |