Skip to content
Snippets Groups Projects
Commit 88651de8 authored by Makarand Dharmapurikar's avatar Makarand Dharmapurikar
Browse files

Fixes #2646

Pass NULL in the host parameter of grpc_channel_create_call
parent febfd32a
Branches
Tags
No related merge requests found
......@@ -199,9 +199,7 @@ grpc_channel_args * buildChannelArgs(NSDictionary *dictionary) {
NULL, GRPC_PROPAGATE_DEFAULTS,
queue.unmanagedQueue,
path.UTF8String,
// Get "host" from "host:port"
// TODO(jcanizales): Use NSURLs throughout, to clarify these.
[_host componentsSeparatedByString:@":"][0].UTF8String,
NULL,
gpr_inf_future(GPR_CLOCK_REALTIME), NULL);
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment