summaryrefslogtreecommitdiff
path: root/sysdep/unix/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'sysdep/unix/main.c')
-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 2479cd6a..5315bfe7 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;
}