]> Pileus Git - ~andy/fetchmail/blobdiff - options.c
Minor bug fixes for socket.c
[~andy/fetchmail] / options.c
index a298cb6e831f84bc21faa533c732c0baba4d3b1a..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