summaryrefslogtreecommitdiffhomepage
path: root/svr-authpam.c
diff options
context:
space:
mode:
authorMatt Johnston <matt@ucc.asn.au>2016-03-10 21:37:35 +0800
committerMatt Johnston <matt@ucc.asn.au>2016-03-10 21:37:35 +0800
commita991d3b56bdd2750c772cb48bc1b932ed1714ad3 (patch)
treed595af33e4b675dd7b229ed0922ac355413b38b4 /svr-authpam.c
parent26a1a0a3bc4420e57334d3ecc827f14ffcb9f24a (diff)
parenta84ce21aece29167f3312c127912404f6e486146 (diff)
merge github master
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 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;