aboutsummaryrefslogtreecommitdiffhomepage
path: root/src
diff options
context:
space:
mode:
authorGravatar Vijay Pai <vpai@google.com>2018-09-11 23:32:53 -0700
committerGravatar Vijay Pai <vpai@google.com>2018-09-11 23:47:40 -0700
commit0382d062486b5ba384d1288008147b6d36868485 (patch)
tree4314933f2e11902d88066457fbcaa3465b32ab5b /src
parent20778b0c468db746088793da13699dd22c8993e0 (diff)
Don't use cq_tag on Server CallOpSet's yet
Diffstat (limited to 'src')
-rw-r--r--src/cpp/server/server_cc.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/cpp/server/server_cc.cc b/src/cpp/server/server_cc.cc
index f271825cba..4970d9d68b 100644
--- a/src/cpp/server/server_cc.cc
+++ b/src/cpp/server/server_cc.cc
@@ -657,8 +657,8 @@ void Server::PerformOpsOnCall(internal::CallOpSetInterface* ops,
size_t nops = 0;
grpc_op cops[MAX_OPS];
ops->FillOps(call->call(), cops, &nops);
- auto result =
- grpc_call_start_batch(call->call(), cops, nops, ops->cq_tag(), nullptr);
+ // TODO(vjpai): Use ops->cq_tag once this case supports callbacks
+ auto result = grpc_call_start_batch(call->call(), cops, nops, ops, nullptr);
if (result != GRPC_CALL_OK) {
gpr_log(GPR_ERROR, "Fatal: grpc_call_start_batch returned %d", result);
grpc_call_log_batch(__FILE__, __LINE__, GPR_LOG_SEVERITY_ERROR,