summaryrefslogtreecommitdiff
path: root/accel-pptpd/cli/tcp.c
diff options
context:
space:
mode:
authorKozlov Dmitry <dima@server>2010-12-30 13:53:40 +0300
committerKozlov Dmitry <dima@server>2010-12-30 13:53:40 +0300
commitad1b6c33dc19ffd4ca87cc6c787f0f670c307cfc (patch)
tree3433a74bfaeeb1cab896e5932d4f5f31d0e4ea00 /accel-pptpd/cli/tcp.c
parentf7058be535637cc5cee39a9b1aa852461cfb66fd (diff)
downloadaccel-ppp-xebd-ad1b6c33dc19ffd4ca87cc6c787f0f670c307cfc.tar.gz
accel-ppp-xebd-ad1b6c33dc19ffd4ca87cc6c787f0f670c307cfc.zip
cli: fixed crash if password is specified
cli: fixed exit command
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 a2f9e07..260225f 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)