diff options
author | David Garcia Quintas <dgq@google.com> | 2016-05-13 11:06:05 -0700 |
---|---|---|
committer | David Garcia Quintas <dgq@google.com> | 2016-05-13 11:06:05 -0700 |
commit | d6fb831ce52d1e26a7d92397222cff75ec85674b (patch) | |
tree | 2113788b8a72f7ee682c7ecc209728f5d0f3f10b /include/grpc++ | |
parent | 118dc63dbbe3dd8412cbd483369fc927b2b464e5 (diff) |
Updated codegen/call.h
Diffstat (limited to 'include/grpc++')
-rw-r--r-- | include/grpc++/impl/codegen/call.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/include/grpc++/impl/codegen/call.h b/include/grpc++/impl/codegen/call.h index 2acdf475f2..c3cbe68acb 100644 --- a/include/grpc++/impl/codegen/call.h +++ b/include/grpc++/impl/codegen/call.h @@ -202,7 +202,9 @@ class CallOpSendInitialMetadata { op->reserved = NULL; op->data.send_initial_metadata.count = initial_metadata_count_; op->data.send_initial_metadata.metadata = initial_metadata_; - op->data.send_initial_metadata.compression_level = compression_level_; + op->data.send_initial_metadata.maybe_compression_level.is_set = true; + op->data.send_initial_metadata.maybe_compression_level.compression_level = + compression_level_; } void FinishOp(bool* status, int max_message_size) { if (!send_) return; |