diff options
author | David Garcia Quintas <dgq@google.com> | 2016-05-17 22:11:18 -0700 |
---|---|---|
committer | David Garcia Quintas <dgq@google.com> | 2016-05-17 22:11:18 -0700 |
commit | e825df736ae3681270e9cde4b8ccc07b70205516 (patch) | |
tree | cbc69ec4c1a10de7afdab7d99c763d51bcc6bbdc | |
parent | 025b4a677719b5885d4b6f558e7564814e6dfb32 (diff) |
updated obj-c code
-rw-r--r-- | src/objective-c/GRPCClient/private/GRPCWrappedCall.m | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/objective-c/GRPCClient/private/GRPCWrappedCall.m b/src/objective-c/GRPCClient/private/GRPCWrappedCall.m index f72ec9068e..27723afb0e 100644 --- a/src/objective-c/GRPCClient/private/GRPCWrappedCall.m +++ b/src/objective-c/GRPCClient/private/GRPCWrappedCall.m @@ -72,7 +72,8 @@ _op.op = GRPC_OP_SEND_INITIAL_METADATA; _op.data.send_initial_metadata.count = metadata.count; _op.data.send_initial_metadata.metadata = metadata.grpc_metadataArray; - _op.data.send_initial_metadata.compression_level = 0; + _op.data.send_initial_metadata.maybe_compression_level.is_set = false; + _op.data.send_initial_metadata.maybe_compression_level.compression_level = 0; _handler = handler; } return self; |