freebsd-ports/mail/fetchmail/files/patch-driver.c
Oliver Eikemeier eaf6282337 - fix POP bug [1]
- add WITHOUT_NLS [2]

Seems like 6.2.6 takes a while...

PR:		60262 [1], 62732 [2]
Submitted by:	Stuart Barkley <stuartb@4gh.net> [1]
		Katsura Matsumoto <katsura@cc.osaka-kyoiku.ac.jp> [1]
2004-04-28 17:26:35 +00:00

15 lines
526 B
C

--- driver.c 2003-10-16 00:52:31 +0530
+++ driver.c 2003-10-17 11:24:27 +0530
@@ -429,8 +429,11 @@
/* 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)
+ switch (ctl->server.protocol)
+ {
+ case P_POP3: case P_APOP: case P_RPOP:
fetchsizelimit = 1;
+ }
/* Time to allocate memory to store the sizes */
xalloca(msgsizes, int *, sizeof(int) * fetchsizelimit);