Mercurial > dropbear
diff svr-authpam.c @ 1238:c59c10803afd
Fix parentheses weird placement
author | Chocobo1 <Chocobo1@users.noreply.github.com> |
---|---|
date | Tue, 05 Jan 2016 12:49:04 +0800 |
parents | aaf576b27a10 |
children | 750ec4ec4cbe |
line wrap: on
line diff
--- a/svr-authpam.c Tue Jan 05 12:32:33 2016 +0800 +++ b/svr-authpam.c Tue Jan 05 12:49:04 2016 +0800 @@ -218,7 +218,7 @@ } /* 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;