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 --- pop3.c | 9 --------- 1 file changed, 9 deletions(-) (limited to 'pop3.c') diff --git a/pop3.c b/pop3.c index 3ea79fb2..13f51409 100644 --- a/pop3.c +++ b/pop3.c @@ -449,11 +449,7 @@ static int pop3_getauth(int sock, struct query *ctl, char *greeting) * rather than doing SASL. */ if (has_kerberos && -#ifdef INET6_ENABLE ctl->server.service && (strcmp(ctl->server.service, KPOP_PORT)!=0) -#else /* INET6_ENABLE */ - ctl->server.port != KPOP_PORT -#endif /* INET6_ENABLE */ && (ctl->server.authenticate == A_KERBEROS_V4 || ctl->server.authenticate == A_KERBEROS_V5 || ctl->server.authenticate == A_ANY)) @@ -1243,13 +1239,8 @@ static int pop3_logout(int sock, struct query *ctl) static const struct method pop3 = { "POP3", /* Post Office Protocol v3 */ -#ifdef INET6_ENABLE "pop3", /* standard POP3 port */ "pop3s", /* ssl POP3 port */ -#else /* INET6_ENABLE */ - 110, /* standard POP3 port */ - 995, /* ssl POP3 port */ -#endif /* INET6_ENABLE */ FALSE, /* this is not a tagged protocol */ TRUE, /* this uses a message delimiter */ pop3_ok, /* parse command response */ -- cgit v1.2.3