summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2002-02-24 02:25:49 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2002-02-24 02:25:49 +0000
commit33e3551cb67302d1d6e6f3584c4477ff9fdcb220 (patch)
tree1ee310b378639fe46b0cab8de19b3331e23db1ac
parent4bf6ad2bc08aa3dd30894b49b2f36f1b95a31fcf (diff)
bad doug, bad bad bad doug; zyrnix@users.sourceforge.net
-rw-r--r--usr.bin/xstr/xstr.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/usr.bin/xstr/xstr.c b/usr.bin/xstr/xstr.c
index c072b6e2cad..b51a67e9592 100644
--- a/usr.bin/xstr/xstr.c
+++ b/usr.bin/xstr/xstr.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: xstr.c,v 1.8 2002/02/23 22:09:37 deraadt Exp $ */
+/* $OpenBSD: xstr.c,v 1.9 2002/02/24 02:25:48 deraadt Exp $ */
/* $NetBSD: xstr.c,v 1.5 1994/12/24 16:57:59 cgd Exp $ */
/*
@@ -44,7 +44,7 @@ static char copyright[] =
#if 0
static char sccsid[] = "@(#)xstr.c 8.1 (Berkeley) 6/9/93";
#endif
-static char rcsid[] = "$OpenBSD: xstr.c,v 1.8 2002/02/23 22:09:37 deraadt Exp $";
+static char rcsid[] = "$OpenBSD: xstr.c,v 1.9 2002/02/24 02:25:48 deraadt Exp $";
#endif /* not lint */
#include <sys/types.h>
@@ -196,7 +196,7 @@ process(char *name)
printf("%s", linebuf);
continue;
}
- for (cp = linebuf; (c = *cp); cp++)
+ for (cp = linebuf; (c = *cp++); )
switch (c) {
case '"':
if (incomm)