summaryrefslogtreecommitdiffstats
path: root/usr.bin/mail/lex.c
diff options
context:
space:
mode:
Diffstat (limited to 'usr.bin/mail/lex.c')
-rw-r--r--usr.bin/mail/lex.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/mail/lex.c b/usr.bin/mail/lex.c
index 2c7cb3e..c6fee20 100644
--- a/usr.bin/mail/lex.c
+++ b/usr.bin/mail/lex.c
@@ -342,9 +342,9 @@ execute(linebuf, contxt)
if (c == 0) {
*msgvec = first(com->c_msgflag,
com->c_msgmask);
- msgvec[1] = NULL;
+ msgvec[1] = 0;
}
- if (*msgvec == NULL) {
+ if (*msgvec == 0) {
printf("No applicable messages\n");
break;
}
OpenPOWER on IntegriCloud