summaryrefslogtreecommitdiff
path: root/usr.bin/xstr/xstr.c
diff options
context:
space:
mode:
Diffstat (limited to 'usr.bin/xstr/xstr.c')
-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)