diff options
author | Loek Le Blansch <loek@pipeframe.xyz> | 2024-05-30 17:48:27 +0200 |
---|---|---|
committer | Loek Le Blansch <loek@pipeframe.xyz> | 2024-05-30 17:48:27 +0200 |
commit | 47bbee8b8a5d7eae452b76f58f30d6a70d265ebe (patch) | |
tree | cbcf00e1a947c9a168cd4bf245f6d93a688f271c /client | |
parent | b231e9d808f40aef0895787ea09624787b10addd (diff) |
fix wild bug
Diffstat (limited to 'client')
-rw-r--r-- | client/CMakeLists.txt | 1 | ||||
-rw-r--r-- | client/sock.cpp | 1 |
2 files changed, 1 insertions, 1 deletions
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]; |