summaryrefslogtreecommitdiffstats
path: root/usr.bin/sed/compile.c
diff options
context:
space:
mode:
authortedu <tedu@openbsd.org>2007-03-20 03:50:38 +0000
committertedu <tedu@openbsd.org>2007-03-20 03:50:38 +0000
commitb65df6796731fdd0e5addf4c6c1724de929a780c (patch)
tree328b6fca24b09a70459a577480af41662a5f5c52 /usr.bin/sed/compile.c
parentremove some bogus *p, from charles longeau (diff)
downloadwireguard-openbsd-b65df6796731fdd0e5addf4c6c1724de929a780c.tar.xz
wireguard-openbsd-b65df6796731fdd0e5addf4c6c1724de929a780c.zip
remove some bogus *p tests from charles longeau
ok deraadt millert
Diffstat (limited to 'usr.bin/sed/compile.c')
-rw-r--r--usr.bin/sed/compile.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/usr.bin/sed/compile.c b/usr.bin/sed/compile.c
index 89172c0707f..a3940542432 100644
--- a/usr.bin/sed/compile.c
+++ b/usr.bin/sed/compile.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: compile.c,v 1.23 2007/01/09 08:37:44 otto Exp $ */
+/* $OpenBSD: compile.c,v 1.24 2007/03/20 03:50:39 tedu Exp $ */
/*-
* Copyright (c) 1992 Diomidis Spinellis.
@@ -35,7 +35,7 @@
#ifndef lint
/* from: static char sccsid[] = "@(#)compile.c 8.2 (Berkeley) 4/28/95"; */
-static const char rcsid[] = "$OpenBSD: compile.c,v 1.23 2007/01/09 08:37:44 otto Exp $";
+static const char rcsid[] = "$OpenBSD: compile.c,v 1.24 2007/03/20 03:50:39 tedu Exp $";
#endif /* not lint */
#include <sys/types.h>
@@ -139,7 +139,7 @@ compile(void)
#define EATSPACE() do { \
if (p) \
- while (*p && isascii(*p) && isspace(*p)) \
+ while (isascii(*p) && isspace(*p)) \
p++; \
} while (0)