aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/core/surface/call.c
diff options
context:
space:
mode:
authorGravatar Craig Tiller <craig.tiller@gmail.com>2015-01-31 09:01:03 -0800
committerGravatar Craig Tiller <craig.tiller@gmail.com>2015-01-31 09:01:03 -0800
commit9a3f2b24335f54c174a1e4b7ce272f9a56fb4091 (patch)
treec1a3f22ace6cf678fb325cecc496a3e198c7434b /src/core/surface/call.c
parent1c1419011afa631ed25224d9d97ce7ce8a185880 (diff)
Look in the right array element
Diffstat (limited to 'src/core/surface/call.c')
-rw-r--r--src/core/surface/call.c2
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,