diff options
author | Jorge Canizales <jcanizales@google.com> | 2015-08-08 15:01:24 -0700 |
---|---|---|
committer | Jorge Canizales <jcanizales@google.com> | 2015-08-08 15:01:24 -0700 |
commit | b3584aa21e5828a2949f93dcb097cccef2d74105 (patch) | |
tree | 0640e908e110cbb8249255e12ff59c29817dfe7f /src/objective-c/GRPCClient/private/GRPCUnsecuredChannel.m | |
parent | faddd3c3f97750c155a1fe24dd86b94efd1b8edb (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.m | 2 |
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 |