summaryrefslogtreecommitdiff
path: root/accel-pptpd/cli/tcp.c
diff options
context:
space:
mode:
Diffstat (limited to 'accel-pptpd/cli/tcp.c')
-rw-r--r--accel-pptpd/cli/tcp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/accel-pptpd/cli/tcp.c b/accel-pptpd/cli/tcp.c
index 435752aa..a2f9e079 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)