comparison cli-auth.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 0cfba3034be5
children efbaf6b03837
comparison
equal deleted inserted replaced
178:058cc7892636 179:161557a9dde8
125 } 125 }
126 #endif 126 #endif
127 127
128 methods = buf_getstring(ses.payload, &methlen); 128 methods = buf_getstring(ses.payload, &methlen);
129 129
130 partial = buf_getbyte(ses.payload); 130 partial = buf_getbool(ses.payload);
131 131
132 if (partial) { 132 if (partial) {
133 dropbear_log(LOG_INFO, "Authentication partially succeeded, more attempts required"); 133 dropbear_log(LOG_INFO, "Authentication partially succeeded, more attempts required");
134 } else { 134 } else {
135 ses.authstate.failcount++; 135 ses.authstate.failcount++;