diff options
author | Muxi Yan <mxyan@google.com> | 2018-10-11 13:34:24 -0700 |
---|---|---|
committer | Muxi Yan <mxyan@google.com> | 2018-10-11 13:34:24 -0700 |
commit | 96709ecb8cde75f2750d96dc288167292790eb5a (patch) | |
tree | 966209022cd494956e15f2075c3658d013b7ffff | |
parent | 8592dc27223e9ec41f4f52634f662c4485bd119b (diff) |
Fix another NSString* != nil to NSString.length != 0
-rw-r--r-- | src/objective-c/GRPCClient/private/GRPCChannelPool.m | 2 |
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; } |