]> Pileus Git - ~andy/fetchmail/blobdiff - options.c
Let distcheck call configure --with-ssl.
[~andy/fetchmail] / options.c
index d0c7c2ab7ec598feafc7bceb105e365c754b7cd4..d53044fc72c4215ee3e975092acde6fb7819a142 100644 (file)
--- 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