aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/objective-c/GRPCClient/private/GRPCHost.m
diff options
context:
space:
mode:
authorGravatar Muxi Yan <mxyan@google.com>2018-12-06 19:07:25 -0800
committerGravatar Muxi Yan <mxyan@google.com>2018-12-06 19:07:25 -0800
commit1a9404876ce0315fc05fe82465dc389600db0965 (patch)
tree92e3ffa2bc10632a9ec6c8730f144408de81b20b /src/objective-c/GRPCClient/private/GRPCHost.m
parentda759f1fc63ceb0c893bb6027bacfadfda5ab111 (diff)
batch fixes
Diffstat (limited to 'src/objective-c/GRPCClient/private/GRPCHost.m')
-rw-r--r--src/objective-c/GRPCClient/private/GRPCHost.m2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/objective-c/GRPCClient/private/GRPCHost.m b/src/objective-c/GRPCClient/private/GRPCHost.m
index e7a7460221..24348c3aed 100644
--- a/src/objective-c/GRPCClient/private/GRPCHost.m
+++ b/src/objective-c/GRPCClient/private/GRPCHost.m
@@ -75,7 +75,7 @@ static NSMutableDictionary *gHostCache;
}
if ((self = [super init])) {
- _address = address;
+ _address = [address copy];
_retryEnabled = YES;
gHostCache[address] = self;
}