From b8c59279404ee384839e86e5f68e94bb257c45d7 Mon Sep 17 00:00:00 2001 From: "Eric S. Raymond" Date: Wed, 9 Oct 1996 16:44:21 +0000 Subject: Removed all pretentions to RPOP support. svn path=/trunk/; revision=267 --- driver.c | 22 ---------------------- 1 file changed, 22 deletions(-) (limited to 'driver.c') diff --git a/driver.c b/driver.c index 6d2227c7..ad8bb016 100644 --- a/driver.c +++ b/driver.c @@ -17,9 +17,6 @@ #include #include #include -#ifdef HAVE_RRESVPORT_H -#include -#endif /* HAVE_RRESVPORT_H */ #include "socket.h" #include "fetchmail.h" @@ -542,25 +539,6 @@ struct method *proto; tagnum = 0; protocol = proto; -#ifdef HAVE_RRESVPORT_H - /* - * If we're trying to bind to a reserved port on the remote system, - * do likewise on the local one so the remote will know we're privileged. - * (This is most likely to happen in connection with RPOP.) - */ - if (queryctl->port < IPPORT_RESERVED) - { - ok = IPPORT_RESERVED - 1; - if ((privport = rresvport(&ok)) == -1 || alarmed) - { - perror("fetchmail, binding to reserved port"); - alarm(0); - signal(SIGALRM, sigsave); - return(PS_SOCKET); - } - } -#endif /* HAVE_RRESVPORT_H */ - /* open a socket to the mail server */ if ((socket = Socket(queryctl->servername, queryctl->port ? queryctl->port : protocol->port))<0 -- cgit v1.2.3