summaryrefslogtreecommitdiff
path: root/usr.bin/mail/collect.c
diff options
context:
space:
mode:
authorAnil Madhavapeddy <avsm@cvs.openbsd.org>2003-10-24 20:32:07 +0000
committerAnil Madhavapeddy <avsm@cvs.openbsd.org>2003-10-24 20:32:07 +0000
commit3a8468223c61342a89c495f6884b0c31ff81e7fb (patch)
tree590e23133794aebee1bee8088bd9497d3b1c2f51 /usr.bin/mail/collect.c
parentfda603321a4c0bb3ea49b921110a0a4a11927721 (diff)
dont compare int to NULL, millert@ ok
Diffstat (limited to 'usr.bin/mail/collect.c')
-rw-r--r--usr.bin/mail/collect.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/usr.bin/mail/collect.c b/usr.bin/mail/collect.c
index 27dec8c8f40..66f83b486b7 100644
--- a/usr.bin/mail/collect.c
+++ b/usr.bin/mail/collect.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: collect.c,v 1.25 2003/06/03 02:56:11 millert Exp $ */
+/* $OpenBSD: collect.c,v 1.26 2003/10/24 20:32:06 avsm Exp $ */
/* $NetBSD: collect.c,v 1.9 1997/07/09 05:25:45 mikel Exp $ */
/*
@@ -34,7 +34,7 @@
#if 0
static const char sccsid[] = "@(#)collect.c 8.2 (Berkeley) 4/19/94";
#else
-static const char rcsid[] = "$OpenBSD: collect.c,v 1.25 2003/06/03 02:56:11 millert Exp $";
+static const char rcsid[] = "$OpenBSD: collect.c,v 1.26 2003/10/24 20:32:06 avsm Exp $";
#endif
#endif /* not lint */
@@ -527,7 +527,7 @@ forward(char *ms, FILE *fp, char *fn, int f)
return(0);
if (*msgvec == 0) {
*msgvec = first(0, MMNORM);
- if (*msgvec == NULL) {
+ if (*msgvec == 0) {
puts("No appropriate messages");
return(0);
}