From 361cefb5747b93aa3a6510af017ec89390673c38 Mon Sep 17 00:00:00 2001 From: Sunil Shetye Date: Thu, 14 Oct 2010 00:46:31 +0530 Subject: Fix "antispam does not work" This appears to be similar to the recent --nosoftbounce and --nobounce issue where command line options are not handled exactly the same way as the rcfile parser handles them. Reported by Kees Bakker, BerliOS bug #17599. --- options.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'options.c') diff --git a/options.c b/options.c index d0c7c2ab..a298cb6e 100644 --- a/options.c +++ b/options.c @@ -487,7 +487,7 @@ int parsecmdline (int argc /** argument count */, buf = xstrdup(optarg); cp = strtok(buf, ","); do { - struct idlist *idp = save_str(&ctl->antispam, NULL, 0);; + struct idlist *idp = save_str(&ctl->antispam, STRING_DUMMY, 0); idp->val.status.num = xatoi(cp, &errflag); } while -- cgit v1.2.3