aboutsummaryrefslogtreecommitdiffhomepage
path: root/include/grpc++/support/byte_buffer.h
diff options
context:
space:
mode:
authorGravatar Mark D. Roth <roth@google.com>2016-09-06 08:15:36 -0700
committerGravatar Mark D. Roth <roth@google.com>2016-09-06 08:15:36 -0700
commit6980362c4edadc833c02fbcb104bf4d4a2a1e081 (patch)
treeb225574fed36edaa37b8556537ef43babce59cde /include/grpc++/support/byte_buffer.h
parenta4d9ee23c229c1358f177b7e474b8f2842661e18 (diff)
Allow setting max send message size via C++ ServerBuilder API.
Diffstat (limited to 'include/grpc++/support/byte_buffer.h')
-rw-r--r--include/grpc++/support/byte_buffer.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/grpc++/support/byte_buffer.h b/include/grpc++/support/byte_buffer.h
index 01249a0b88..06f8969b70 100644
--- a/include/grpc++/support/byte_buffer.h
+++ b/include/grpc++/support/byte_buffer.h
@@ -96,7 +96,7 @@ template <>
class SerializationTraits<ByteBuffer, void> {
public:
static Status Deserialize(grpc_byte_buffer* byte_buffer, ByteBuffer* dest,
- int max_message_size) {
+ int max_receive_message_size) {
dest->set_buffer(byte_buffer);
return Status::OK;
}