summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorderaadt <deraadt@openbsd.org>2002-02-24 02:25:48 +0000
committerderaadt <deraadt@openbsd.org>2002-02-24 02:25:48 +0000
commit3de44b7b06c5d83ec01bb3f45d335d6e57514045 (patch)
tree0b33c43b6a83bdeaf9fe7e070600e4b044d49de8
parentwrong error message (diff)
downloadwireguard-openbsd-3de44b7b06c5d83ec01bb3f45d335d6e57514045.tar.xz
wireguard-openbsd-3de44b7b06c5d83ec01bb3f45d335d6e57514045.zip
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)