aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/tls/tls_channel.cpp2
1 files changed, 1 insertions, 1 deletions
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<byte>& 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)