aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/core/surface/call.c
diff options
context:
space:
mode:
authorGravatar yang-g <yangg@google.com>2015-12-07 11:23:50 -0800
committerGravatar yang-g <yangg@google.com>2015-12-07 11:25:36 -0800
commit48f3a7191c868bedc13b76db5582cbf37097151d (patch)
tree5525cd3df8f7a4dda5277283d40fcd4412ed6548 /src/core/surface/call.c
parentb67ef24d776fcc2a0b75ca4c85f58be762d0c68d (diff)
add missing goto
Diffstat (limited to 'src/core/surface/call.c')
-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;