diff options
author | Craig Tiller <ctiller@google.com> | 2017-09-12 13:04:02 -0700 |
---|---|---|
committer | Craig Tiller <ctiller@google.com> | 2017-09-12 13:04:02 -0700 |
commit | 8e90f6955a3f3aca7ba99577fc59e910996dd380 (patch) | |
tree | 86ac72331d9a76d7d32eea039cc8bf64efd0532e | |
parent | b7f36d75171eb563248be8f776518087e3dfaa0c (diff) |
Fix API fuzzer
-rw-r--r-- | test/core/end2end/fuzzers/api_fuzzer.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/test/core/end2end/fuzzers/api_fuzzer.c b/test/core/end2end/fuzzers/api_fuzzer.c index 46819d0dba..0a787bbf30 100644 --- a/test/core/end2end/fuzzers/api_fuzzer.c +++ b/test/core/end2end/fuzzers/api_fuzzer.c @@ -60,7 +60,9 @@ extern gpr_timespec (*gpr_now_impl)(gpr_clock_type clock_type); static gpr_timespec now_impl(gpr_clock_type clock_type) { GPR_ASSERT(clock_type != GPR_TIMESPAN); - return g_now; + gpr_timespec ts = g_now; + ts.clock_type = clock_type; + return ts; } //////////////////////////////////////////////////////////////////////////////// |