comparison 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
comparison
equal deleted inserted replaced
178:058cc7892636 179:161557a9dde8
69 send_msg_userauth_failure(0, 1); 69 send_msg_userauth_failure(0, 1);
70 return; 70 return;
71 } 71 }
72 72
73 /* check if client wants to change password */ 73 /* check if client wants to change password */
74 changepw = buf_getbyte(ses.payload); 74 changepw = buf_getbool(ses.payload);
75 if (changepw) { 75 if (changepw) {
76 /* not implemented by this server */ 76 /* not implemented by this server */
77 send_msg_userauth_failure(0, 1); 77 send_msg_userauth_failure(0, 1);
78 return; 78 return;
79 } 79 }