From 27a0815dbc15b1e837b115ade6f5e035152b60f9 Mon Sep 17 00:00:00 2001 From: "Eric S. Raymond" Date: Sat, 28 Sep 1996 20:43:39 +0000 Subject: The great options massacre. svn path=/trunk/; revision=178 --- pop3.c | 12 ++---------- 1 file changed, 2 insertions(+), 10 deletions(-) (limited to 'pop3.c') diff --git a/pop3.c b/pop3.c index cc537507..20a08669 100644 --- a/pop3.c +++ b/pop3.c @@ -64,7 +64,6 @@ char *greeting; { char buf [POPBUFSIZE+1]; -#if defined(HAVE_APOP_SUPPORT) /* build MD5 digest from greeting timestamp + password */ if (queryctl->protocol == P_APOP) { @@ -96,7 +95,6 @@ char *greeting; strcpy(queryctl->digest, MD5Digest(msg)); free(msg); } -#endif /* HAVE_APOP_SUPPORT */ switch (queryctl->protocol) { case P_POP3: @@ -119,13 +117,11 @@ char *greeting; goto badAuth; break; -#if defined(HAVE_APOP_SUPPORT) case P_APOP: gen_send(socket,"APOP %s %s", queryctl->remotename, queryctl->digest); if (pop3_ok(buf,socket) != 0) goto badAuth; break; -#endif /* HAVE_APOP_SUPPORT */ default: fprintf(stderr,"Undefined protocol request in POP3_auth\n"); @@ -182,18 +178,14 @@ int *firstp; return(0); } -static int pop3_fetch(socket, number, limit, lenp) +static int pop3_fetch(socket, number, lenp) /* request nth message */ int socket; int number; -int limit; int *lenp; { *lenp = 0; - if (limit) - return(gen_transact(socket, "TOP %d %d", number, limit)); - else - return(gen_transact(socket, "RETR %d", number)); + return(gen_transact(socket, "RETR %d", number)); } static pop3_delete(socket, queryctl, number) -- cgit v1.2.3