aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/objective-c/GRPCClient/private/GRPCChannelPool.m
diff options
context:
space:
mode:
authorGravatar Muxi Yan <mxyan@google.com>2018-10-11 13:34:24 -0700
committerGravatar Muxi Yan <mxyan@google.com>2018-10-11 13:34:24 -0700
commit96709ecb8cde75f2750d96dc288167292790eb5a (patch)
tree966209022cd494956e15f2075c3658d013b7ffff /src/objective-c/GRPCClient/private/GRPCChannelPool.m
parent8592dc27223e9ec41f4f52634f662c4485bd119b (diff)
Fix another NSString* != nil to NSString.length != 0
Diffstat (limited to 'src/objective-c/GRPCClient/private/GRPCChannelPool.m')
-rw-r--r--src/objective-c/GRPCClient/private/GRPCChannelPool.m2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/objective-c/GRPCClient/private/GRPCChannelPool.m b/src/objective-c/GRPCClient/private/GRPCChannelPool.m
index 340f4f3c83..2b08eb8d5e 100644
--- a/src/objective-c/GRPCClient/private/GRPCChannelPool.m
+++ b/src/objective-c/GRPCClient/private/GRPCChannelPool.m
@@ -131,7 +131,7 @@ const NSTimeInterval kChannelDestroyDelay = 30;
args[@GRPC_ARG_MOBILE_LOG_CONTEXT] = _callOptions.logContext;
}
- if (_callOptions.channelPoolDomain != nil) {
+ if (_callOptions.channelPoolDomain.length != 0) {
args[@GRPC_ARG_CHANNEL_POOL_DOMAIN] = _callOptions.channelPoolDomain;
}