diff options
author | Craig Tiller <ctiller@google.com> | 2015-05-15 14:42:54 -0700 |
---|---|---|
committer | Craig Tiller <ctiller@google.com> | 2015-05-15 14:42:54 -0700 |
commit | f95f048c3e05e9d7de351534ca5c09b8edbadaaf (patch) | |
tree | 193a3bedf33ba0c62d3c459428c7a5b18de5be73 /src/core | |
parent | 069daa383e720ac662fd4d8dd852f486556dcacf (diff) |
Make cq tracing work again
Diffstat (limited to 'src/core')
-rw-r--r-- | src/core/surface/completion_queue.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/core/surface/completion_queue.c b/src/core/surface/completion_queue.c index 48910afda3..8c9ca48a05 100644 --- a/src/core/surface/completion_queue.c +++ b/src/core/surface/completion_queue.c @@ -275,14 +275,14 @@ grpc_event grpc_completion_queue_pluck(grpc_completion_queue *cc, void *tag, gpr_mu_unlock(GRPC_POLLSET_MU(&cc->pollset)); memset(&ret, 0, sizeof(ret)); ret.type = GRPC_QUEUE_TIMEOUT; - GRPC_SURFACE_TRACE_RETURNED_EVENT(cc, &ev->base); + GRPC_SURFACE_TRACE_RETURNED_EVENT(cc, &ret); return ret; } } gpr_mu_unlock(GRPC_POLLSET_MU(&cc->pollset)); ret = ev->base; gpr_free(ev); - GRPC_SURFACE_TRACE_RETURNED_EVENT(cc, &ev->base); + GRPC_SURFACE_TRACE_RETURNED_EVENT(cc, &ret); return ret; } |