From 96709ecb8cde75f2750d96dc288167292790eb5a Mon Sep 17 00:00:00 2001 From: Muxi Yan Date: Thu, 11 Oct 2018 13:34:24 -0700 Subject: [PATCH] Fix another NSString* != nil to NSString.length != 0 --- src/objective-c/GRPCClient/private/GRPCChannelPool.m | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/objective-c/GRPCClient/private/GRPCChannelPool.m b/src/objective-c/GRPCClient/private/GRPCChannelPool.m index 340f4f3c83e..2b08eb8d5e3 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; }