From 6a33a72c7b423afb143a67a3e88d27e4bcafd116 Mon Sep 17 00:00:00 2001 From: auth Date: Sun, 5 Jul 2020 12:00:04 +0200 Subject: More assembler implementations. Small changes to client on server. --- client/src/main.cpp | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'client/src/main.cpp') diff --git a/client/src/main.cpp b/client/src/main.cpp index 727e3a0..8e742de 100644 --- a/client/src/main.cpp +++ b/client/src/main.cpp @@ -28,9 +28,6 @@ int main(int argc, char* argv[]) { auto message = packet(); auto action = packet.act; - // move ? - int ret = -1; - if (action == tcp::packet_action::session) { client.session_id = packet.session_id; tcp::version_t v{0, 1, 0}; @@ -50,7 +47,7 @@ int main(int argc, char* argv[]) { } io::logger->info("{}:{}->{} {}", packet.id, packet.session_id, message, - packet.act); + action); }); while (client) { -- cgit v1.2.3