From 47bbee8b8a5d7eae452b76f58f30d6a70d265ebe Mon Sep 17 00:00:00 2001 From: Loek Le Blansch Date: Thu, 30 May 2024 17:48:27 +0200 Subject: fix wild bug --- client/CMakeLists.txt | 1 - client/sock.cpp | 1 + 2 files changed, 1 insertion(+), 1 deletion(-) (limited to 'client') diff --git a/client/CMakeLists.txt b/client/CMakeLists.txt index cb891a6..d838266 100644 --- a/client/CMakeLists.txt +++ b/client/CMakeLists.txt @@ -29,4 +29,3 @@ target_link_libraries(pbc readline # this is such a common library that I did not bother adding it as a submodule ) - diff --git a/client/sock.cpp b/client/sock.cpp index 638bf9d..95a3685 100644 --- a/client/sock.cpp +++ b/client/sock.cpp @@ -73,6 +73,7 @@ void PBSocket::send(const char * buf, size_t buf_sz) { void PBSocket::sock_task() { i2ctcp_msg_t input; + i2ctcp_read_reset(&input); while(1) { char buf[80]; -- cgit v1.2.3