From db6386911ac3215eb4f359783316dd3e72b193e6 Mon Sep 17 00:00:00 2001 From: Matthias Andree Date: Tue, 14 Dec 2010 22:02:38 +0100 Subject: xstrdup string constant for ctl->server.service. --- options.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/options.c b/options.c index a298cb6e..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 -- cgit v1.2.3