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/sock.cpp | |
parent | b231e9d808f40aef0895787ea09624787b10addd (diff) |
fix wild bug
Diffstat (limited to 'client/sock.cpp')
-rw-r--r-- | client/sock.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
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]; |