aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/objective-c/GRPCClient/private/GRPCUnsecuredChannel.m
diff options
context:
space:
mode:
authorGravatar Jorge Canizales <jcanizales@google.com>2015-08-08 15:01:24 -0700
committerGravatar Jorge Canizales <jcanizales@google.com>2015-08-08 15:01:24 -0700
commitb3584aa21e5828a2949f93dcb097cccef2d74105 (patch)
tree0640e908e110cbb8249255e12ff59c29817dfe7f /src/objective-c/GRPCClient/private/GRPCUnsecuredChannel.m
parentfaddd3c3f97750c155a1fe24dd86b94efd1b8edb (diff)
Have ObjC use the new future-proofed C interface
Diffstat (limited to 'src/objective-c/GRPCClient/private/GRPCUnsecuredChannel.m')
-rw-r--r--src/objective-c/GRPCClient/private/GRPCUnsecuredChannel.m2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/objective-c/GRPCClient/private/GRPCUnsecuredChannel.m b/src/objective-c/GRPCClient/private/GRPCUnsecuredChannel.m
index 070a529629..15b6ffc75c 100644
--- a/src/objective-c/GRPCClient/private/GRPCUnsecuredChannel.m
+++ b/src/objective-c/GRPCClient/private/GRPCUnsecuredChannel.m
@@ -38,7 +38,7 @@
@implementation GRPCUnsecuredChannel
- (instancetype)initWithHost:(NSString *)host {
- return (self = [super initWithChannel:grpc_insecure_channel_create(host.UTF8String, NULL)]);
+ return (self = [super initWithChannel:grpc_insecure_channel_create(host.UTF8String, NULL, NULL)]);
}
// TODO(jcanizales): GRPCSecureChannel and GRPCUnsecuredChannel are just convenience initializers