From ea0ac8f69aec4eff8109eb3d74cc0ca5a330fa58 Mon Sep 17 00:00:00 2001 From: Martin Mares Date: Mon, 31 May 2004 22:00:18 +0000 Subject: Move CLI socket to the newly created CLI's pool. (thanks to Andreas for the original idea) --- sysdep/unix/main.c | 1 + 1 file changed, 1 insertion(+) (limited to 'sysdep/unix/main.c') 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; } -- cgit v1.2.3