Source-Changes-HG archive

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

[src/trunk]: src/games/hunt/hunt fix obvious mistake (seems to have been ther...



details:   https://anonhg.NetBSD.org/src/rev/b5ba92076093
branches:  trunk
changeset: 328283:b5ba92076093
user:      dholland <dholland%NetBSD.org@localhost>
date:      Sun Mar 30 04:40:50 2014 +0000

description:
fix obvious mistake (seems to have been there since 4.4)

diffstat:

 games/hunt/hunt/hunt.c |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (27 lines):

diff -r ce15ad52a882 -r b5ba92076093 games/hunt/hunt/hunt.c
--- a/games/hunt/hunt/hunt.c    Sun Mar 30 04:39:40 2014 +0000
+++ b/games/hunt/hunt/hunt.c    Sun Mar 30 04:40:50 2014 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: hunt.c,v 1.51 2014/03/30 04:31:21 dholland Exp $       */
+/*     $NetBSD: hunt.c,v 1.52 2014/03/30 04:40:50 dholland Exp $       */
 /*
  * Copyright (c) 1983-2003, Regents of the University of California.
  * All rights reserved.
@@ -32,7 +32,7 @@
 
 #include <sys/cdefs.h>
 #ifndef lint
-__RCSID("$NetBSD: hunt.c,v 1.51 2014/03/30 04:31:21 dholland Exp $");
+__RCSID("$NetBSD: hunt.c,v 1.52 2014/03/30 04:40:50 dholland Exp $");
 #endif /* not lint */
 
 #include <sys/param.h>
@@ -227,7 +227,7 @@
        else if (optind + 1 == ac)
                Sock_host = av[ac - 1];
 #else
-       if (optind > ac)
+       if (optind < ac)
                goto usage;
 #endif
 



Home | Main Index | Thread Index | Old Index