Fix compile error

pull/431/head
Craig Tiller 10 years ago
parent df2c957eee
commit 82ee98cc0d
  1. 2
      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); auto cq_tag = static_cast<CompletionQueueTag *>(ev->tag);
cq_tag->FinalizeResult(); cq_tag->FinalizeResult();
*tag = cq_tag->user_tag_; *tag = cq_tag->user_tag_;
*ok = ev->status.op_complete == GRPC_OP_OK; *ok = ev->data.op_complete == GRPC_OP_OK;
return true; return true;
} }

Loading…
Cancel
Save