diff options
author | Anil Madhavapeddy <avsm@cvs.openbsd.org> | 2003-10-24 20:32:07 +0000 |
---|---|---|
committer | Anil Madhavapeddy <avsm@cvs.openbsd.org> | 2003-10-24 20:32:07 +0000 |
commit | 3a8468223c61342a89c495f6884b0c31ff81e7fb (patch) | |
tree | 590e23133794aebee1bee8088bd9497d3b1c2f51 /usr.bin/mail/lex.c | |
parent | fda603321a4c0bb3ea49b921110a0a4a11927721 (diff) |
dont compare int to NULL, millert@ ok
Diffstat (limited to 'usr.bin/mail/lex.c')
-rw-r--r-- | usr.bin/mail/lex.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/usr.bin/mail/lex.c b/usr.bin/mail/lex.c index c45faa646cc..cbded97fbf4 100644 --- a/usr.bin/mail/lex.c +++ b/usr.bin/mail/lex.c @@ -1,4 +1,4 @@ -/* $OpenBSD: lex.c,v 1.29 2003/10/13 00:46:08 tedu Exp $ */ +/* $OpenBSD: lex.c,v 1.30 2003/10/24 20:32:06 avsm Exp $ */ /* $NetBSD: lex.c,v 1.10 1997/05/17 19:55:13 pk Exp $ */ /* @@ -34,7 +34,7 @@ #if 0 static const char sccsid[] = "@(#)lex.c 8.2 (Berkeley) 4/20/95"; #else -static const char rcsid[] = "$OpenBSD: lex.c,v 1.29 2003/10/13 00:46:08 tedu Exp $"; +static const char rcsid[] = "$OpenBSD: lex.c,v 1.30 2003/10/24 20:32:06 avsm Exp $"; #endif #endif /* not lint */ @@ -407,7 +407,7 @@ execute(char *linebuf, int contxt) com->c_msgmask); msgvec[1] = NULL; } - if (*msgvec == NULL) { + if (*msgvec == 0) { puts("No applicable messages"); break; } @@ -437,7 +437,7 @@ execute(char *linebuf, int contxt) com->c_msgmask); msgvec[1] = NULL; } - if (*msgvec == NULL) { + if (*msgvec == 0) { puts("No applicable messages"); break; } |