diff options
author | Matt Johnston <matt@ucc.asn.au> | 2016-03-10 21:37:35 +0800 |
---|---|---|
committer | Matt Johnston <matt@ucc.asn.au> | 2016-03-10 21:37:35 +0800 |
commit | a991d3b56bdd2750c772cb48bc1b932ed1714ad3 (patch) | |
tree | d595af33e4b675dd7b229ed0922ac355413b38b4 /svr-authpam.c | |
parent | 26a1a0a3bc4420e57334d3ecc827f14ffcb9f24a (diff) | |
parent | a84ce21aece29167f3312c127912404f6e486146 (diff) |
merge github master
Diffstat (limited to 'svr-authpam.c')
-rw-r--r-- | svr-authpam.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/svr-authpam.c b/svr-authpam.c index 101017c..98505ba 100644 --- a/svr-authpam.c +++ b/svr-authpam.c @@ -218,7 +218,7 @@ void svr_auth_pam() { } /* just to set it to something */ - if ((rc = pam_set_item(pamHandlep, PAM_TTY, "ssh") != PAM_SUCCESS)) { + if ((rc = pam_set_item(pamHandlep, PAM_TTY, "ssh")) != PAM_SUCCESS) { dropbear_log(LOG_WARNING, "pam_set_item() failed, rc=%d, %s", rc, pam_strerror(pamHandlep, rc)); goto cleanup; |