Mercurial > dropbear
diff svr-authpasswd.c @ 179:161557a9dde8
* fix longstanding bug with connections being closed on failure to
connect to auth socket (server)
* differentiate between get_byte and get_bool
* get rid of some // comments
* general tidying
author | Matt Johnston <matt@ucc.asn.au> |
---|---|
date | Sun, 13 Mar 2005 13:58:14 +0000 |
parents | 364a75cfebab |
children | 740e782679be 4317be8b7cf9 |
line wrap: on
line diff
--- a/svr-authpasswd.c Sun Mar 13 12:03:27 2005 +0000 +++ b/svr-authpasswd.c Sun Mar 13 13:58:14 2005 +0000 @@ -71,7 +71,7 @@ } /* check if client wants to change password */ - changepw = buf_getbyte(ses.payload); + changepw = buf_getbool(ses.payload); if (changepw) { /* not implemented by this server */ send_msg_userauth_failure(0, 1);