diff options
author | Sunil Shetye <shetye@bombay.retortsoft.com> | 2010-10-14 00:46:31 +0530 |
---|---|---|
committer | Matthias Andree <matthias.andree@gmx.de> | 2010-10-21 12:17:13 +0100 |
commit | 361cefb5747b93aa3a6510af017ec89390673c38 (patch) | |
tree | c125ffd35c0a140619997692563fe2dcb3bdc5ff /options.c | |
parent | fa2ac589a4dccb25e9da1757f53e2b25d1d3e1a3 (diff) | |
download | fetchmail-361cefb5747b93aa3a6510af017ec89390673c38.tar.gz fetchmail-361cefb5747b93aa3a6510af017ec89390673c38.tar.bz2 fetchmail-361cefb5747b93aa3a6510af017ec89390673c38.zip |
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.
Diffstat (limited to 'options.c')
-rw-r--r-- | options.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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 |