diff options
Diffstat (limited to 'src/core/surface/server.c')
-rw-r--r-- | src/core/surface/server.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/core/surface/server.c b/src/core/surface/server.c index f4d76e882f..6d06725bf3 100644 --- a/src/core/surface/server.c +++ b/src/core/surface/server.c @@ -1229,6 +1229,8 @@ static void begin_call(grpc_server *server, call_data *calld, calld->cq_new = rc->cq_for_notification; switch (rc->type) { case BATCH_CALL: + GPR_ASSERT(calld->host != NULL); + GPR_ASSERT(calld->path != NULL); cpstr(&rc->data.batch.details->host, &rc->data.batch.details->host_capacity, calld->host); cpstr(&rc->data.batch.details->method, |