From 2cabbf89f9f696a4786476a4eda7a59a1c16d486 Mon Sep 17 00:00:00 2001 From: Matthias Andree Date: Tue, 2 Aug 2005 00:41:50 +0000 Subject: Remove port/service dualism and make everything a service. svn path=/trunk/; revision=4219 --- sink.c | 8 -------- 1 file changed, 8 deletions(-) (limited to 'sink.c') 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]=='/'){ -- cgit v1.2.3