Fix a misplaced parenthesis.

PR:		162164
Submitted by:	Henning Petersen <henning.petersen@t-online.de>
MFC after:	1 week
This commit is contained in:
Christian Brueffer 2011-10-30 12:33:19 +00:00
parent 5c1f2cc4c2
commit 0dfcc6619b
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=226937

View File

@ -317,7 +317,7 @@ doit(struct sockaddr *fromp)
}
if ((pam_err = pam_set_item(pamh, PAM_RUSER, ruser)) != PAM_SUCCESS ||
(pam_err = pam_set_item(pamh, PAM_RHOST, rhost) != PAM_SUCCESS)) {
(pam_err = pam_set_item(pamh, PAM_RHOST, rhost)) != PAM_SUCCESS) {
syslog(LOG_ERR|LOG_AUTH, "pam_set_item(): %s",
pam_strerror(pamh, pam_err));
rshd_errx(1, "Login incorrect.");