aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/core/lib/surface
diff options
context:
space:
mode:
authorGravatar Sree Kuchibhotla <sreek@google.com>2017-04-11 20:34:53 -0700
committerGravatar Sree Kuchibhotla <sreek@google.com>2017-04-11 20:34:53 -0700
commitb6746048412fe908fa2d9e29273820bf00df38ae (patch)
treeb2c162e3bb899eb55a2e0ca53f8332e06dc7de3a /src/core/lib/surface
parenta07bd3a9718dd0400593cfe0937ed6c6edd85569 (diff)
Fix a bug in cq_is_next_finished
Diffstat (limited to 'src/core/lib/surface')
-rw-r--r--src/core/lib/surface/completion_queue.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/core/lib/surface/completion_queue.c b/src/core/lib/surface/completion_queue.c
index 712719e9af..b1a0fa6c4a 100644
--- a/src/core/lib/surface/completion_queue.c
+++ b/src/core/lib/surface/completion_queue.c
@@ -434,6 +434,7 @@ static bool cq_is_next_finished(grpc_exec_ctx *exec_ctx, void *arg) {
* is ok and doesn't affect correctness. Might effect the tail latencies a
* bit) */
a->stolen_completion = (grpc_cq_completion *)gpr_mpscq_pop(&cq->queue);
+ return true;
}
return !a->first_loop &&