diff options
author | 2018-09-19 18:48:55 +0000 | |
---|---|---|
committer | 2018-09-19 18:48:55 +0000 | |
commit | 7f3a902744d96262ef9d2b70a7058f710c99cfa4 (patch) | |
tree | 0b258dd24e1feceb69089639b10c91225a501bba | |
parent | Update disklabel(8) man page with the new 5G minimum for /usr/obj. (diff) | |
download | wireguard-openbsd-7f3a902744d96262ef9d2b70a7058f710c99cfa4.tar.xz wireguard-openbsd-7f3a902744d96262ef9d2b70a7058f710c99cfa4.zip |
Fix last commit, I made one of the changes to the wrong line.
Noticed by martijn@
-rw-r--r-- | bin/csh/lex.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/bin/csh/lex.c b/bin/csh/lex.c index 0f2cc2355a0..473ed428c39 100644 --- a/bin/csh/lex.c +++ b/bin/csh/lex.c @@ -1,4 +1,4 @@ -/* $OpenBSD: lex.c,v 1.28 2018/09/19 15:14:35 millert Exp $ */ +/* $OpenBSD: lex.c,v 1.29 2018/09/19 18:48:55 millert Exp $ */ /* $NetBSD: lex.c,v 1.9 1995/09/27 00:38:46 jtc Exp $ */ /*- @@ -1274,7 +1274,7 @@ top: aret = F_SEEK; if (alvecp) { aret = A_SEEK; - if ((c = *alvecp++) != NULL) + if ((c = *alvecp++) != '\0') return (c); if (alvec && *alvec) { alvecp = *alvec++; @@ -1287,7 +1287,7 @@ top: } } if (alvec) { - if ((alvecp = *alvec) != '\0') { + if ((alvecp = *alvec) != NULL) { alvec++; goto top; } |