aboutsummaryrefslogtreecommitdiffstats
path: root/options.c
diff options
context:
space:
mode:
authorMatthias Andree <matthias.andree@gmx.de>2005-08-02 00:41:50 +0000
committerMatthias Andree <matthias.andree@gmx.de>2005-08-02 00:41:50 +0000
commit2cabbf89f9f696a4786476a4eda7a59a1c16d486 (patch)
tree83657a863dfb434ab4a07edcc90781db848b84e0 /options.c
parentaeec83fe86d05c61cc19ae8cb4cf07e959ab9ba1 (diff)
downloadfetchmail-2cabbf89f9f696a4786476a4eda7a59a1c16d486.tar.gz
fetchmail-2cabbf89f9f696a4786476a4eda7a59a1c16d486.tar.bz2
fetchmail-2cabbf89f9f696a4786476a4eda7a59a1c16d486.zip
Remove port/service dualism and make everything a service.
svn path=/trunk/; revision=4219
Diffstat (limited to 'options.c')
-rw-r--r--options.c8
1 files changed, 0 insertions, 8 deletions
diff --git a/options.c b/options.c
index 38c46eb5..25c1c5e3 100644
--- a/options.c
+++ b/options.c
@@ -358,11 +358,7 @@ struct query *ctl; /* option record to be initialized */
else if (strcasecmp(optarg,"kpop") == 0)
{
ctl->server.protocol = P_POP3;
-#ifdef INET6_ENABLE
ctl->server.service = KPOP_PORT;
-#else /* INET6_ENABLE */
- ctl->server.port = KPOP_PORT;
-#endif /* INET6_ENABLE */
#ifdef KERBEROS_V5
ctl->server.authenticate = A_KERBEROS_V5;
#else
@@ -386,11 +382,7 @@ struct query *ctl; /* option record to be initialized */
break;
case 'P':
case LA_PORT:
-#ifdef INET6_ENABLE
ctl->server.service = optarg;
-#else /* INET6_ENABLE */
- ctl->server.port = xatoi(optarg, &errflag);
-#endif /* INET6_ENABLE */
break;
case LA_AUTH:
if (strcmp(optarg, "password") == 0)