From ff0dd88999c3d5966bbf32b9598a463363aea375 Mon Sep 17 00:00:00 2001 From: Damien Miller Date: Mon, 19 May 2008 14:55:02 +1000 Subject: [PATCH] - djm@cvs.openbsd.org 2008/04/18 22:01:33 [session.c] remove unneccessary parentheses --- ChangeLog | 5 ++++- session.c | 4 ++-- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/ChangeLog b/ChangeLog index c87b05453..5c720182a 100644 --- a/ChangeLog +++ b/ChangeLog @@ -33,6 +33,9 @@ - jmc@cvs.openbsd.org 2008/04/18 17:15:47 [sftp.1] macro fixage; + - djm@cvs.openbsd.org 2008/04/18 22:01:33 + [session.c] + remove unneccessary parentheses 20080403 - (djm) [openbsd-compat/bsd-poll.c] Include stdlib.h to avoid compile- @@ -3893,4 +3896,4 @@ OpenServer 6 and add osr5bigcrypt support so when someone migrates passwords between UnixWare and OpenServer they will still work. OK dtucker@ -$Id: ChangeLog,v 1.4912 2008/05/19 04:54:25 djm Exp $ +$Id: ChangeLog,v 1.4913 2008/05/19 04:55:02 djm Exp $ diff --git a/session.c b/session.c index a77dde38f..f2bcfd061 100644 --- a/session.c +++ b/session.c @@ -1,4 +1,4 @@ -/* $OpenBSD: session.c,v 1.233 2008/03/26 21:28:14 djm Exp $ */ +/* $OpenBSD: session.c,v 1.234 2008/04/18 22:01:33 djm Exp $ */ /* * Copyright (c) 1995 Tatu Ylonen , Espoo, Finland * All rights reserved @@ -1204,7 +1204,7 @@ do_rc_files(Session *s, const char *shell) /* ignore _PATH_SSH_USER_RC for subsystems and admin forced commands */ if (!s->is_subsystem && options.adm_forced_command == NULL && - !no_user_rc && (stat(_PATH_SSH_USER_RC, &st) >= 0)) { + !no_user_rc && stat(_PATH_SSH_USER_RC, &st) >= 0) { snprintf(cmd, sizeof cmd, "%s -c '%s %s'", shell, _PATH_BSHELL, _PATH_SSH_USER_RC); if (debug_flag)