aboutsummaryrefslogtreecommitdiff
path: root/client/sock.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'client/sock.cpp')
-rw-r--r--client/sock.cpp1
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];