From 9a3f2b24335f54c174a1e4b7ce272f9a56fb4091 Mon Sep 17 00:00:00 2001 From: Craig Tiller Date: Sat, 31 Jan 2015 09:01:03 -0800 Subject: [PATCH] Look in the right array element --- src/core/surface/call.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/core/surface/call.c b/src/core/surface/call.c index a6389799590..b64e42e8e37 100644 --- a/src/core/surface/call.c +++ b/src/core/surface/call.c @@ -511,7 +511,7 @@ static void enact_send_action(grpc_call *call, send_action sa) { } /* send status */ /* TODO(ctiller): cache common status values */ - data = call->requests[GRPC_IOREQ_SEND_CLOSE].data; + data = call->requests[GRPC_IOREQ_SEND_STATUS].data; gpr_ltoa(data.send_status.code, status_str); send_metadata( call,