aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/objective-c/GRPCClient/private/GRPCChannel.m
diff options
context:
space:
mode:
authorGravatar Alexander Polcyn <apolcyn@google.com>2018-01-16 22:57:05 -0800
committerGravatar Alexander Polcyn <apolcyn@google.com>2018-01-24 20:31:33 -0800
commit190a8dbc6c011d3c59980c2525ffe443cf4886da (patch)
treeafb37aabfddeccc3853983379699ce859d7e4ca8 /src/objective-c/GRPCClient/private/GRPCChannel.m
parent3be06433afb4140bdd584274f850263d236413a3 (diff)
Fix linker error on objc mac tests by explicitly installing cocoapods v1.3.1, rather than picking up 1.4.1
Diffstat (limited to 'src/objective-c/GRPCClient/private/GRPCChannel.m')
-rw-r--r--src/objective-c/GRPCClient/private/GRPCChannel.m1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/objective-c/GRPCClient/private/GRPCChannel.m b/src/objective-c/GRPCClient/private/GRPCChannel.m
index b78b14f2af..26efe90abd 100644
--- a/src/objective-c/GRPCClient/private/GRPCChannel.m
+++ b/src/objective-c/GRPCClient/private/GRPCChannel.m
@@ -189,6 +189,7 @@ static grpc_channel_args *BuildChannelArgs(NSDictionary *dictionary) {
timeout = 0;
}
grpc_slice host_slice;
+ memset(&host_slice, 0, sizeof(host_slice));
if (serverName) {
host_slice = grpc_slice_from_copied_string(serverName.UTF8String);
}