Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 30 Oct 2011 12:33:19 +0000 (UTC)
From:      Christian Brueffer <brueffer@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r226937 - head/libexec/rshd
Message-ID:  <201110301233.p9UCXJun068472@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: brueffer
Date: Sun Oct 30 12:33:19 2011
New Revision: 226937
URL: http://svn.freebsd.org/changeset/base/226937

Log:
  Fix a misplaced parenthesis.
  
  PR:		162164
  Submitted by:	Henning Petersen <henning.petersen@t-online.de>
  MFC after:	1 week

Modified:
  head/libexec/rshd/rshd.c

Modified: head/libexec/rshd/rshd.c
==============================================================================
--- head/libexec/rshd/rshd.c	Sun Oct 30 12:23:06 2011	(r226936)
+++ head/libexec/rshd/rshd.c	Sun Oct 30 12:33:19 2011	(r226937)
@@ -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.");



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201110301233.p9UCXJun068472>