diff options
-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; } |