=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/usr.bin/xstr/Attic/xstr.c,v retrieving revision 1.8 retrieving revision 1.9 diff -u -r1.8 -r1.9 --- src/usr.bin/xstr/Attic/xstr.c 2002/02/23 22:09:37 1.8 +++ src/usr.bin/xstr/Attic/xstr.c 2002/02/24 02:25:48 1.9 @@ -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 @@ #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 @@ printf("%s", linebuf); continue; } - for (cp = linebuf; (c = *cp); cp++) + for (cp = linebuf; (c = *cp++); ) switch (c) { case '"': if (incomm)