diff options
author | 2015-01-31 09:01:03 -0800 | |
---|---|---|
committer | 2015-01-31 09:01:03 -0800 | |
commit | 9a3f2b24335f54c174a1e4b7ce272f9a56fb4091 (patch) | |
tree | c1a3f22ace6cf678fb325cecc496a3e198c7434b /src/core/surface/call.c | |
parent | 1c1419011afa631ed25224d9d97ce7ce8a185880 (diff) |
Look in the right array element
Diffstat (limited to 'src/core/surface/call.c')
-rw-r--r-- | src/core/surface/call.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/surface/call.c b/src/core/surface/call.c index a638979959..b64e42e8e3 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, |