Fix build problem from merge.

pull/7970/head
Mark D. Roth 8 years ago
parent 5e1b58bcea
commit d5130f2fb3
  1. 4
      src/core/lib/channel/channel_stack.c

@ -275,7 +275,7 @@ void grpc_call_element_send_cancel(grpc_exec_ctx *exec_ctx,
grpc_transport_stream_op op; grpc_transport_stream_op op;
memset(&op, 0, sizeof(op)); memset(&op, 0, sizeof(op));
op.cancel_error = GRPC_ERROR_CANCELLED; op.cancel_error = GRPC_ERROR_CANCELLED;
elem->filter->start_transport_stream_op(exec_ctx, elem, op); elem->filter->start_transport_stream_op(exec_ctx, elem, &op);
} }
void grpc_call_element_send_cancel_with_message(grpc_exec_ctx *exec_ctx, void grpc_call_element_send_cancel_with_message(grpc_exec_ctx *exec_ctx,
@ -286,7 +286,7 @@ void grpc_call_element_send_cancel_with_message(grpc_exec_ctx *exec_ctx,
memset(&op, 0, sizeof(op)); memset(&op, 0, sizeof(op));
grpc_transport_stream_op_add_cancellation_with_message(&op, status, grpc_transport_stream_op_add_cancellation_with_message(&op, status,
optional_message); optional_message);
elem->filter->start_transport_stream_op(exec_ctx, elem, op); elem->filter->start_transport_stream_op(exec_ctx, elem, &op);
} }
void grpc_call_element_send_close_with_message(grpc_exec_ctx *exec_ctx, void grpc_call_element_send_close_with_message(grpc_exec_ctx *exec_ctx,

Loading…
Cancel
Save