summaryrefslogtreecommitdiffstats
path: root/usr.bin/mail/cmd1.c
diff options
context:
space:
mode:
Diffstat (limited to 'usr.bin/mail/cmd1.c')
-rw-r--r--usr.bin/mail/cmd1.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.bin/mail/cmd1.c b/usr.bin/mail/cmd1.c
index e83a036..1f87fa8 100644
--- a/usr.bin/mail/cmd1.c
+++ b/usr.bin/mail/cmd1.c
@@ -152,7 +152,7 @@ from(msgvec)
{
register int *ip;
- for (ip = msgvec; *ip != NULL; ip++)
+ for (ip = msgvec; *ip != 0; ip++)
printhead(*ip);
if (--ip >= msgvec)
dot = &message[*ip - 1];
OpenPOWER on IntegriCloud