aboutsummaryrefslogtreecommitdiff
path: root/network-handler/client.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'network-handler/client.cpp')
-rw-r--r--network-handler/client.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/network-handler/client.cpp b/network-handler/client.cpp
index f767f6d..19b6f34 100644
--- a/network-handler/client.cpp
+++ b/network-handler/client.cpp
@@ -20,7 +20,7 @@ void Client::handle_receive(const error_code &ec, size_t read_bytes)
if(!ec) {
std::vector<uint8_t> data(std::istream_iterator<uint8_t>(is), {});
- std::cout << "Received: " << std::string(data.begin(), data.end()) << std::endl;
+ handle_message(data);
receive();
} else {
done();