From 0fb50d9c8bf0ec0cd8fe2dc1ba1683e792dea39c Mon Sep 17 00:00:00 2001 From: lloyd Date: Sat, 9 Nov 2013 18:38:52 +0000 Subject: Return a value --- src/tls/tls_channel.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/tls/tls_channel.cpp b/src/tls/tls_channel.cpp index 4395a40e1..8ed876b3f 100644 --- a/src/tls/tls_channel.cpp +++ b/src/tls/tls_channel.cpp @@ -271,7 +271,7 @@ bool Channel::heartbeat_sending_allowed() const size_t Channel::received_data(const std::vector& buf) { - this->received_data(&buf[0], buf.size()); + return this->received_data(&buf[0], buf.size()); } size_t Channel::received_data(const byte input[], size_t input_size) -- cgit v1.2.3