diff options
author | 2007-03-20 03:40:05 +0000 | |
---|---|---|
committer | 2007-03-20 03:40:05 +0000 | |
commit | 2c74d5bfe13f645c335769088c13cbc40b542aa6 (patch) | |
tree | ee158c41e89ad0206f08ea5fdad06dd918b52f62 /lib/libcurses | |
parent | Hook up sd ioctl. (diff) | |
download | wireguard-openbsd-2c74d5bfe13f645c335769088c13cbc40b542aa6.tar.xz wireguard-openbsd-2c74d5bfe13f645c335769088c13cbc40b542aa6.zip |
remove some bogus *p tests from charles longeau
ok deraadt millert
Diffstat (limited to 'lib/libcurses')
-rw-r--r-- | lib/libcurses/tinfo/comp_hash.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/libcurses/tinfo/comp_hash.c b/lib/libcurses/tinfo/comp_hash.c index 172c3fc946a..a4b10f3c546 100644 --- a/lib/libcurses/tinfo/comp_hash.c +++ b/lib/libcurses/tinfo/comp_hash.c @@ -1,4 +1,4 @@ -/* $OpenBSD: comp_hash.c,v 1.6 2003/03/18 16:55:54 millert Exp $ */ +/* $OpenBSD: comp_hash.c,v 1.7 2007/03/20 03:40:06 tedu Exp $ */ /**************************************************************************** * Copyright (c) 1998 Free Software Foundation, Inc. * @@ -216,7 +216,7 @@ static char **parse_columns(char *buffer) col++; if (mark == '\0') break; - while (*++s && isspace(*s)) + while (isspace(*++s)) /*EMPTY*/; buffer = s; } else |