diff options
author | Martin Mares <mj@ucw.cz> | 2004-05-31 22:00:18 +0000 |
---|---|---|
committer | Martin Mares <mj@ucw.cz> | 2004-05-31 22:00:18 +0000 |
commit | ea0ac8f69aec4eff8109eb3d74cc0ca5a330fa58 (patch) | |
tree | 145a98d0f57f64c898a36c0387e2d30266e8f2d4 /sysdep | |
parent | 38a608c55af7654f23c9a16129ab6211aac3b7ab (diff) |
Move CLI socket to the newly created CLI's pool.
(thanks to Andreas for the original idea)
Diffstat (limited to 'sysdep')
-rw-r--r-- | sysdep/unix/main.c | 1 |
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; } |