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 a2f9e079..260225f1 100644
--- a/accel-pptpd/cli/tcp.c
+++ b/accel-pptpd/cli/tcp.c
@@ -184,7 +184,7 @@ static int cln_read(struct triton_md_handler_t *h)
drop:
disconnect(cln);
- return 0;
+ return -1;
}
static int cln_write(struct triton_md_handler_t *h)