aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/objective-c/GRPCClient/private/GRPCChannelPool.m
diff options
context:
space:
mode:
authorGravatar Muxi Yan <mxyan@google.com>2018-10-19 11:57:18 -0700
committerGravatar Muxi Yan <mxyan@google.com>2018-10-19 11:57:18 -0700
commit9f9141082bcd4167488780f93eeec8d40c17e007 (patch)
tree9fa25546f817dc5a479fb5fa6e63f116e272d804 /src/objective-c/GRPCClient/private/GRPCChannelPool.m
parentcc9157a248e20a2f24972241ae1f2d41ea171a8b (diff)
compressAlgorithm->compressionAlgorithm
Diffstat (limited to 'src/objective-c/GRPCClient/private/GRPCChannelPool.m')
-rw-r--r--src/objective-c/GRPCClient/private/GRPCChannelPool.m4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/objective-c/GRPCClient/private/GRPCChannelPool.m b/src/objective-c/GRPCClient/private/GRPCChannelPool.m
index 6659d193c6..4908b82fea 100644
--- a/src/objective-c/GRPCClient/private/GRPCChannelPool.m
+++ b/src/objective-c/GRPCClient/private/GRPCChannelPool.m
@@ -94,9 +94,9 @@ extern const char *kCFStreamVarName;
[NSNumber numberWithUnsignedInteger:_callOptions.responseSizeLimit];
}
- if (_callOptions.compressAlgorithm != GRPC_COMPRESS_NONE) {
+ if (_callOptions.compressionAlgorithm != GRPC_COMPRESS_NONE) {
args[@GRPC_COMPRESSION_CHANNEL_DEFAULT_ALGORITHM] =
- [NSNumber numberWithInt:_callOptions.compressAlgorithm];
+ [NSNumber numberWithInt:_callOptions.compressionAlgorithm];
}
if (_callOptions.keepaliveInterval != 0) {