aboutsummaryrefslogtreecommitdiffstats
path: root/fetchmail.c
diff options
context:
space:
mode:
authorEric S. Raymond <esr@thyrsus.com>1998-07-31 07:45:45 +0000
committerEric S. Raymond <esr@thyrsus.com>1998-07-31 07:45:45 +0000
commit5128f297197f7c94da05d300cfc0a6887a7e3cf3 (patch)
tree8e62f928034be78df2d659a9f23d1fdd566a96e2 /fetchmail.c
parent9fc78b63abb475cbc116a6daab8c99bd3f3fe0ec (diff)
downloadfetchmail-5128f297197f7c94da05d300cfc0a6887a7e3cf3.tar.gz
fetchmail-5128f297197f7c94da05d300cfc0a6887a7e3cf3.tar.bz2
fetchmail-5128f297197f7c94da05d300cfc0a6887a7e3cf3.zip
Fixed the spam-block code.
svn path=/trunk/; revision=2030
Diffstat (limited to 'fetchmail.c')
-rw-r--r--fetchmail.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/fetchmail.c b/fetchmail.c
index a9d52ac8..1d549eb5 100644
--- a/fetchmail.c
+++ b/fetchmail.c
@@ -741,9 +741,9 @@ static int load_params(int argc, char **argv, int optind)
memset(&def_opts, '\0', sizeof(struct query));
def_opts.smtp_socket = -1;
def_opts.smtpaddress = (char *)0;
- save_str(&def_opts.antispam, (char *)NULL, 0)->val.status.num = 571;
- save_str(&def_opts.antispam, (char *)NULL, 0)->val.status.num = 550;
- save_str(&def_opts.antispam, (char *)NULL, 0)->val.status.num = 501;
+ save_str(&def_opts.antispam, STRING_DUMMY, 0)->val.status.num = 571;
+ save_str(&def_opts.antispam, STRING_DUMMY, 0)->val.status.num = 550;
+ save_str(&def_opts.antispam, STRING_DUMMY, 0)->val.status.num = 501;
def_opts.server.protocol = P_AUTO;
def_opts.server.timeout = CLIENT_TIMEOUT;