Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/libexec/rshd PR/45542: Henning Petersen: Misplaced parenthes...
details: https://anonhg.NetBSD.org/src/rev/a842d90abf15
branches: trunk
changeset: 770720:a842d90abf15
user: christos <christos%NetBSD.org@localhost>
date: Sun Oct 30 16:54:58 2011 +0000
description:
PR/45542: Henning Petersen: Misplaced parenthesis in rshd.c
diffstat:
libexec/rshd/rshd.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (27 lines):
diff -r dc1e465ae80c -r a842d90abf15 libexec/rshd/rshd.c
--- a/libexec/rshd/rshd.c Sun Oct 30 14:31:05 2011 +0000
+++ b/libexec/rshd/rshd.c Sun Oct 30 16:54:58 2011 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: rshd.c,v 1.48 2011/08/27 17:46:34 joerg Exp $ */
+/* $NetBSD: rshd.c,v 1.49 2011/10/30 16:54:58 christos Exp $ */
/*
* Copyright (C) 1998 WIDE Project.
@@ -69,7 +69,7 @@
#if 0
static char sccsid[] = "@(#)rshd.c 8.2 (Berkeley) 4/6/94";
#else
-__RCSID("$NetBSD: rshd.c,v 1.48 2011/08/27 17:46:34 joerg Exp $");
+__RCSID("$NetBSD: rshd.c,v 1.49 2011/10/30 16:54:58 christos Exp $");
#endif
#endif /* not lint */
@@ -457,7 +457,7 @@
}
if ((pam_err = pam_set_item(pamh, PAM_RUSER, remuser)) != PAM_SUCCESS ||
- (pam_err = pam_set_item(pamh, PAM_RHOST, hostname) != PAM_SUCCESS)){
+ (pam_err = pam_set_item(pamh, PAM_RHOST, hostname)) != PAM_SUCCESS){
syslog(LOG_ERR|LOG_AUTH, "pam_set_item(): %s",
pam_strerror(pamh, pam_err));
rshd_errx(EXIT_FAILURE, incorrect);
Home |
Main Index |
Thread Index |
Old Index