Fix a misplaced parenthesis.
PR: 162164 Submitted by: Henning Petersen <henning.petersen@t-online.de> MFC after: 1 week
This commit is contained in:
parent
5c1f2cc4c2
commit
0dfcc6619b
@ -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.");
|
||||
|
Loading…
Reference in New Issue
Block a user