summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--sysdep/unix/main.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/sysdep/unix/main.c b/sysdep/unix/main.c
index 2479cd6..5315bfe 100644
--- a/sysdep/unix/main.c
+++ b/sysdep/unix/main.c
@@ -266,6 +266,7 @@ cli_connect(sock *s, int size)
s->pool = c->pool; /* We need to have all the socket buffers allocated in the cli pool */
c->rx_pos = c->rx_buf;
c->rx_aux = NULL;
+ rmove(s, c->pool);
return 1;
}