aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorGravatar Craig Tiller <ctiller@google.com>2015-12-07 11:29:28 -0800
committerGravatar Craig Tiller <ctiller@google.com>2015-12-07 11:29:28 -0800
commitcf034866a15f523402c6eb1e9c41a9ff1d938c21 (patch)
tree1c3b0f5445ae1ed555d34abe241ba00e919df065
parent334f5b775261c872aea0de8018ebe1aaef6a6ff8 (diff)
parent48f3a7191c868bedc13b76db5582cbf37097151d (diff)
Merge pull request #4308 from yang-g/goto_error_done
Add missing goto
-rw-r--r--src/core/surface/call.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/core/surface/call.c b/src/core/surface/call.c
index 4affafa585..84b9daaa28 100644
--- a/src/core/surface/call.c
+++ b/src/core/surface/call.c
@@ -1270,6 +1270,7 @@ static grpc_call_error call_start_batch(grpc_exec_ctx *exec_ctx,
}
if (call->receiving_message) {
error = GRPC_CALL_ERROR_TOO_MANY_OPERATIONS;
+ goto done_with_error;
}
call->receiving_message = 1;
bctl->recv_message = 1;