diff svr-authpasswd.c @ 219:654bc8327787

merge of 9522146cb07d4576f161fc4567c2c2fbd6f61fbb and b11630c15bc4d0649dba51c3572cac6f44e0ab0e
author Matt Johnston <matt@ucc.asn.au>
date Fri, 08 Jul 2005 13:28:03 +0000
parents 161557a9dde8
children 740e782679be 4317be8b7cf9
line wrap: on
line diff
--- a/svr-authpasswd.c	Fri Jul 08 13:27:28 2005 +0000
+++ b/svr-authpasswd.c	Fri Jul 08 13:28:03 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);