]> andersk Git - openssh.git/commitdiff
- djm@cvs.openbsd.org 2008/04/18 22:01:33
authordjm <djm>
Mon, 19 May 2008 04:55:02 +0000 (04:55 +0000)
committerdjm <djm>
Mon, 19 May 2008 04:55:02 +0000 (04:55 +0000)
     [session.c]
     remove unneccessary parentheses

ChangeLog
session.c

index 2a8ff6890764d0d482bc25b8b6b4831804629728..ce3bcd83d73b350c7e65b5a16abb836c0f02616d 100644 (file)
--- 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-
index a77dde38f761ff9e4b35f432dfc359c5efd7332b..f2bcfd0615158aec62214c803d2d646a05a3d6a8 100644 (file)
--- 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 <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)
This page took 0.34092 seconds and 5 git commands to generate.