aboutsummaryrefslogtreecommitdiffstats
path: root/sink.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 /sink.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 'sink.c')
-rw-r--r--sink.c8
1 files changed, 0 insertions, 8 deletions
diff --git a/sink.c b/sink.c
index 62cc8fdd..a3c52a5b 100644
--- a/sink.c
+++ b/sink.c
@@ -121,11 +121,7 @@ int smtp_open(struct query *ctl)
for (idp = ctl->smtphunt; idp; idp = idp->next)
{
char *cp;
-#ifdef INET6_ENABLE
char *portnum = SMTP_PORT;
-#else
- int portnum = SMTP_PORT;
-#endif /* INET6_ENABLE */
ctl->smtphost = idp->id; /* remember last host tried. */
if(ctl->smtphost[0]=='/')
@@ -136,11 +132,7 @@ int smtp_open(struct query *ctl)
if ((cp = strrchr(parsed_host, '/')))
{
*cp++ = 0;
-#ifdef INET6_ENABLE
portnum = cp;
-#else
- portnum = atoi(cp);
-#endif /* INET6_ENABLE */
}
if (ctl->smtphost[0]=='/'){