diff options
author | Kozlov Dmitry <dima@server> | 2010-12-30 13:53:40 +0300 |
---|---|---|
committer | Kozlov Dmitry <dima@server> | 2010-12-30 13:53:40 +0300 |
commit | ad1b6c33dc19ffd4ca87cc6c787f0f670c307cfc (patch) | |
tree | 3433a74bfaeeb1cab896e5932d4f5f31d0e4ea00 /accel-pptpd/cli/tcp.c | |
parent | f7058be535637cc5cee39a9b1aa852461cfb66fd (diff) | |
download | accel-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.c | 2 |
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) |