aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorlloyd <[email protected]>2013-11-09 18:38:52 +0000
committerlloyd <[email protected]>2013-11-09 18:38:52 +0000
commit0fb50d9c8bf0ec0cd8fe2dc1ba1683e792dea39c (patch)
tree663ba91c70518deb622414215f931b31b57924da
parent8cea1eee440fd02f98657b0feda87aacccb254c6 (diff)
Return a value
-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)