aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorGravatar Craig Tiller <ctiller@google.com>2016-04-18 22:47:54 -0700
committerGravatar Craig Tiller <ctiller@google.com>2016-04-18 22:47:54 -0700
commitbe006cbf8ac475722d77073b222f7eded4030b97 (patch)
tree571ec01d604b71498e4d18f74bd80971c89e9b09
parent7673f7ac63d8bf7e18bdcd2888c5c57822ce938f (diff)
Make API calls legal
-rw-r--r--test/core/end2end/fuzzers/api_fuzzer.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/core/end2end/fuzzers/api_fuzzer.c b/test/core/end2end/fuzzers/api_fuzzer.c
index a914482588..225c333cda 100644
--- a/test/core/end2end/fuzzers/api_fuzzer.c
+++ b/test/core/end2end/fuzzers/api_fuzzer.c
@@ -571,7 +571,7 @@ int LLVMFuzzerTestOneInput(const uint8_t *data, size_t size) {
if (g_channel == NULL) ok = false;
grpc_call *parent_call = NULL;
if (active_call->type != ROOT) {
- if (active_call->call == NULL) {
+ if (active_call->call == NULL || active_call->type == CLIENT) {
end(&inp);
break;
}