summaryrefslogtreecommitdiffhomepage
path: root/svr-authpam.c
diff options
context:
space:
mode:
authorChocobo1 <Chocobo1@users.noreply.github.com>2016-01-05 12:49:04 +0800
committerChocobo1 <Chocobo1@users.noreply.github.com>2016-01-05 22:44:09 +0800
commitde1993a1fdc12355ee90da357128d3ec43522c57 (patch)
tree4c8fd8b51e9e22b91b682ed4706979a35a917eb9 /svr-authpam.c
parent9bcd5f3c0aac51af390b77d725c124e42baa60cd (diff)
Fix parentheses weird placement
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;