X-Git-Url: http://pileus.org/git/?a=blobdiff_plain;f=options.c;h=d53044fc72c4215ee3e975092acde6fb7819a142;hb=ecade79a63e9abad933e3705a02533620ddc92b5;hp=d0c7c2ab7ec598feafc7bceb105e365c754b7cd4;hpb=497ba428052f1437187778ceb2293c8eaba5893f;p=~andy%2Ffetchmail diff --git a/options.c b/options.c index d0c7c2ab..d53044fc 100644 --- a/options.c +++ b/options.c @@ -347,7 +347,7 @@ int parsecmdline (int argc /** argument count */, else if (strcasecmp(optarg,"kpop") == 0) { ctl->server.protocol = P_POP3; - ctl->server.service = KPOP_PORT; + ctl->server.service = xstrdup(KPOP_PORT); #ifdef KERBEROS_V5 ctl->server.authenticate = A_KERBEROS_V5; #else @@ -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