summaryrefslogtreecommitdiffstats
path: root/usr.bin/mail/collect.c
diff options
context:
space:
mode:
Diffstat (limited to 'usr.bin/mail/collect.c')
-rw-r--r--usr.bin/mail/collect.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/mail/collect.c b/usr.bin/mail/collect.c
index 9d54fd3..ab3a9a3 100644
--- a/usr.bin/mail/collect.c
+++ b/usr.bin/mail/collect.c
@@ -523,11 +523,11 @@ forward(ms, fp, f)
return(0);
if (*msgvec == 0) {
*msgvec = first(0, MMNORM);
- if (*msgvec == NULL) {
+ if (*msgvec == 0) {
printf("No appropriate messages\n");
return(0);
}
- msgvec[1] = NULL;
+ msgvec[1] = 0;
}
if (f == 'f' || f == 'F')
tabst = NOSTR;
OpenPOWER on IntegriCloud