Continue updating C#

reviewable/pr8842/r2
Craig Tiller 8 years ago
parent 1bcdf17c11
commit b9a5e07373
  1. 6
      src/csharp/ext/grpc_csharp_ext.c

@ -402,8 +402,10 @@ grpcsharp_channel_create_call(grpc_channel *channel, grpc_call *parent_call,
grpc_completion_queue *cq, grpc_completion_queue *cq,
const char *method, const char *host, const char *method, const char *host,
gpr_timespec deadline) { gpr_timespec deadline) {
return grpc_channel_create_call(channel, parent_call, propagation_mask, cq, grpc_slice method_slice = grpc_slice_from_copied_string(method);
method, host, deadline, NULL); grpc_slice host_slice = host == NULL ? grpc_empty_string() : grpc_slice_from_copied_string(host);
grpc_call *grpc_channel_create_call(channel, parent_call, propagation_mask, cq,
method_slice, host_slice, deadline, NULL);
} }
GPR_EXPORT grpc_connectivity_state GPR_CALLTYPE GPR_EXPORT grpc_connectivity_state GPR_CALLTYPE

Loading…
Cancel
Save