summaryrefslogtreecommitdiffhomepage
path: root/svr-authpam.c
diff options
context:
space:
mode:
authorMatt Johnston <matt@ucc.asn.au>2005-03-13 13:58:14 +0000
committerMatt Johnston <matt@ucc.asn.au>2005-03-13 13:58:14 +0000
commitf45eafe342aa07dfdc7a83e865b642f9b8ef2fa0 (patch)
tree420b80af3728353ee1a4151ecd32d627a48c1fdf /svr-authpam.c
parenta68755af2bbc2e34ad23a74fc4d9d5c58502aa14 (diff)
* 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 --HG-- extra : convert_revision : fb8d188ce33b6b45804a5ce51b9f601f83bdf3d7
Diffstat (limited to 'svr-authpam.c')
-rw-r--r--svr-authpam.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/svr-authpam.c b/svr-authpam.c
index e045b74..fe1f123 100644
--- a/svr-authpam.c
+++ b/svr-authpam.c
@@ -155,7 +155,7 @@ void svr_auth_pam() {
unsigned char changepw;
/* 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);