aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/cpp/common
diff options
context:
space:
mode:
authorGravatar David Garcia Quintas <dgq@google.com>2016-05-12 17:08:19 -0700
committerGravatar David Garcia Quintas <dgq@google.com>2016-05-12 17:12:34 -0700
commit183ba02ce7909b8c5bf1c3019f9da0123ddae720 (patch)
treeb5c5b6c343133c39ee0d6a1c3d28173379fb7778 /src/cpp/common
parente644cfddb8b62818beaf1a875347e9ea7892195e (diff)
Renamed some defines
Diffstat (limited to 'src/cpp/common')
-rw-r--r--src/cpp/common/channel_arguments.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cpp/common/channel_arguments.cc b/src/cpp/common/channel_arguments.cc
index db3558f192..f297ae8587 100644
--- a/src/cpp/common/channel_arguments.cc
+++ b/src/cpp/common/channel_arguments.cc
@@ -85,7 +85,7 @@ void ChannelArguments::Swap(ChannelArguments& other) {
void ChannelArguments::SetCompressionAlgorithm(
grpc_compression_algorithm algorithm) {
- SetInt(GRPC_COMPRESSION_ALGORITHM_ARG, algorithm);
+ SetInt(GRPC_COMPRESSION_CHANNEL_DEFAULT_ALGORITHM, algorithm);
}
// Note: a second call to this will add in front the result of the first call.