From 66fb5aa174fbf8d1d0d90b71b1373de23f2fb64d Mon Sep 17 00:00:00 2001 From: Kozlov Dmitry Date: Wed, 29 Dec 2010 17:32:31 +0300 Subject: cli: fixed incorrect "exit" handling --- accel-pptpd/cli/tcp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'accel-pptpd/cli/tcp.c') diff --git a/accel-pptpd/cli/tcp.c b/accel-pptpd/cli/tcp.c index 435752a..a2f9e07 100644 --- a/accel-pptpd/cli/tcp.c +++ b/accel-pptpd/cli/tcp.c @@ -73,7 +73,7 @@ static void disconnect(struct tcp_client_t *cln) static void cli_client_disconnect(struct cli_client_t *tcln) { struct tcp_client_t *cln = container_of(tcln, typeof(*cln), cli_client); - disconnect(cln); + cln->disconnect = 1; } static void queue_buffer(struct tcp_client_t *cln, struct buffer_t *b) -- cgit v1.2.3