aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatthias Andree <matthias.andree@gmx.de>2010-12-14 22:02:38 +0100
committerMatthias Andree <matthias.andree@gmx.de>2010-12-15 02:09:00 +0100
commitdb6386911ac3215eb4f359783316dd3e72b193e6 (patch)
treee0aaf5e1049cc9c212839342935ce3ec3ea96c89
parent3718805edd205a4eb557205b0dbc476fa765d339 (diff)
downloadfetchmail-db6386911ac3215eb4f359783316dd3e72b193e6.tar.gz
fetchmail-db6386911ac3215eb4f359783316dd3e72b193e6.tar.bz2
fetchmail-db6386911ac3215eb4f359783316dd3e72b193e6.zip
xstrdup string constant for ctl->server.service.
-rw-r--r--options.c2
1 files changed, 1 insertions, 1 deletions
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