Look in the right array element

pull/357/head
Craig Tiller 10 years ago
parent 1c1419011a
commit 9a3f2b2433
  1. 2
      src/core/surface/call.c

@ -511,7 +511,7 @@ static void enact_send_action(grpc_call *call, send_action sa) {
} }
/* send status */ /* send status */
/* TODO(ctiller): cache common status values */ /* 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); gpr_ltoa(data.send_status.code, status_str);
send_metadata( send_metadata(
call, call,

Loading…
Cancel
Save