diff svr-authpasswd.c @ 182:aeca43462eee

merge of 954df0829153a81396cf111410fae269457c3ad6 and d7e8c6af971415504a2b626bf6dc1a4d50cdc5d7
author Matt Johnston <matt@ucc.asn.au>
date Sun, 13 Mar 2005 16:23:19 +0000
parents 161557a9dde8
children 740e782679be 4317be8b7cf9
line wrap: on
line diff
--- a/svr-authpasswd.c	Sun Mar 13 16:22:36 2005 +0000
+++ b/svr-authpasswd.c	Sun Mar 13 16:23:19 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);