summaryrefslogtreecommitdiffstats
path: root/usr.bin/vacation
diff options
context:
space:
mode:
authorphk <phk@FreeBSD.org>1997-09-18 14:08:40 +0000
committerphk <phk@FreeBSD.org>1997-09-18 14:08:40 +0000
commitd8ac4091605cafeed429956439b3365036470356 (patch)
tree86f85152c10afe3de06afc06d7738c614a3210cb /usr.bin/vacation
parent2d831c7d21d4e39820d9fe862e7ec818476c083b (diff)
downloadFreeBSD-src-d8ac4091605cafeed429956439b3365036470356.zip
FreeBSD-src-d8ac4091605cafeed429956439b3365036470356.tar.gz
Many places in the code NULL is used in integer context, where
plain 0 should be used. This happens to work because we #define NULL to 0, but is stylistically wrong and can cause problems for people trying to port bits of code to other environments. PR: 2752 Submitted by: Arne Henrik Juul <arnej@imf.unit.no>
Diffstat (limited to 'usr.bin/vacation')
-rw-r--r--usr.bin/vacation/vacation.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/vacation/vacation.c b/usr.bin/vacation/vacation.c
index 025a550..d3ff609 100644
--- a/usr.bin/vacation/vacation.c
+++ b/usr.bin/vacation/vacation.c
@@ -40,7 +40,7 @@ static char copyright[] =
#ifndef lint
static char sccsid[] = "From: @(#)vacation.c 8.2 (Berkeley) 1/26/94";
static char rcsid[] =
- "$Id: vacation.c,v 1.9 1997/04/23 22:40:19 ache Exp $";
+ "$Id: vacation.c,v 1.10 1997/08/28 04:40:51 imp Exp $";
#endif /* not lint */
/*
@@ -297,7 +297,7 @@ junkmail()
} ignore[] = {
{"-request", 8}, {"postmaster", 10}, {"uucp", 4},
{"mailer-daemon", 13}, {"mailer", 6}, {"-relay", 6},
- {NULL, NULL},
+ {NULL, 0},
};
register struct ignore *cur;
register int len;
OpenPOWER on IntegriCloud