From 33e3551cb67302d1d6e6f3584c4477ff9fdcb220 Mon Sep 17 00:00:00 2001 From: Theo de Raadt Date: Sun, 24 Feb 2002 02:25:49 +0000 Subject: bad doug, bad bad bad doug; zyrnix@users.sourceforge.net --- usr.bin/xstr/xstr.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'usr.bin') 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 @@ -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) -- cgit v1.2.3