openbsd-ports/mail/fetchmail/patches/patch-driver_c
2004-03-12 00:18:42 +00:00

16 lines
674 B
Plaintext

Fix APOP.
See: http://lists.ccil.org/pipermail/fetchmail-friends/2003-October/008080.html
$OpenBSD: patch-driver_c,v 1.1 2004/03/12 00:18:42 fgsch Exp $
--- driver.c.orig 2003-10-15 16:22:31.000000000 -0300
+++ driver.c 2004-03-11 21:10:10.000000000 -0300
@@ -429,7 +429,7 @@ static int fetch_messages(int mailserver
/* for POP3, we can get the size of one mail only! Unfortunately, this
* protocol specific test cannot be done elsewhere as the protocol
* could be "auto". */
- if (ctl->server.protocol == P_POP3)
+ if (ctl->server.protocol == P_POP3 || ctl->server.protocol == P_APOP)
fetchsizelimit = 1;
/* Time to allocate memory to store the sizes */