Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/external/bsd/cron/dist Kill redundant ()



details:   https://anonhg.NetBSD.org/src/rev/35b4d7ff587e
branches:  trunk
changeset: 770344:35b4d7ff587e
user:      joerg <joerg%NetBSD.org@localhost>
date:      Thu Oct 13 16:58:30 2011 +0000

description:
Kill redundant ()

diffstat:

 external/bsd/cron/dist/database.c |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (27 lines):

diff -r c83dc8102fac -r 35b4d7ff587e external/bsd/cron/dist/database.c
--- a/external/bsd/cron/dist/database.c Thu Oct 13 16:00:37 2011 +0000
+++ b/external/bsd/cron/dist/database.c Thu Oct 13 16:58:30 2011 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: database.c,v 1.5 2011/10/12 19:48:24 christos Exp $    */
+/*     $NetBSD: database.c,v 1.6 2011/10/13 16:58:30 joerg Exp $       */
 
 /* Copyright 1988,1990,1993,1994 by Paul Vixie
  * All rights reserved
@@ -25,7 +25,7 @@
 #if 0
 static char rcsid[] = "Id: database.c,v 1.7 2004/01/23 18:56:42 vixie Exp";
 #else
-__RCSID("$NetBSD: database.c,v 1.5 2011/10/12 19:48:24 christos Exp $");
+__RCSID("$NetBSD: database.c,v 1.6 2011/10/13 16:58:30 joerg Exp $");
 #endif
 #endif
 
@@ -88,7 +88,7 @@
                }
 
                /* ... or ending with ~ ... */
-               if ((dp->d_name[len - 1] == '~'))
+               if (dp->d_name[len - 1] == '~')
                        continue;
 
                (void)strlcpy(fname, dp->d_name, sizeof(fname));



Home | Main Index | Thread Index | Old Index