- djm@cvs.openbsd.org 2008/04/18 22:01:33

[session.c]
     remove unneccessary parentheses
This commit is contained in:
Damien Miller 2008-05-19 14:55:02 +10:00
parent 64058cb8ef
commit ff0dd88999
2 changed files with 6 additions and 3 deletions

View File

@ -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 $

View File

@ -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 <ylo@cs.hut.fi>, 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)