diff options
author | Matt Johnston <matt@ucc.asn.au> | 2016-01-20 21:24:36 +0800 |
---|---|---|
committer | Matt Johnston <matt@ucc.asn.au> | 2016-01-20 21:24:36 +0800 |
commit | 1fc1559d156648bac94d3fa51901a89619fceac7 (patch) | |
tree | 2d33c8c29105a52aca94492094ad92e7196162f0 /svr-authpam.c | |
parent | de70b02c2f357d6a2fd51b2de3bec2e0f345d5b1 (diff) | |
parent | de1993a1fdc12355ee90da357128d3ec43522c57 (diff) |
Merge pull request #21 from Chocobo1/fix
Fix warnings
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; |