diff options
author | Tom Knight <tomk@gentoo.org> | 2004-08-07 11:15:46 +0000 |
---|---|---|
committer | Tom Knight <tomk@gentoo.org> | 2004-08-07 11:15:46 +0000 |
commit | 41d86e80682d6b9acad3fd8ce976df226b8d18f1 (patch) | |
tree | 1dd1083a0fc8d49e73298616c4aa0367007e01ca /net-mail/fetchmail/files | |
parent | ~amd64 closes bug #58432 (Manifest recommit) (diff) | |
download | gentoo-2-41d86e80682d6b9acad3fd8ce976df226b8d18f1.tar.gz gentoo-2-41d86e80682d6b9acad3fd8ce976df226b8d18f1.tar.bz2 gentoo-2-41d86e80682d6b9acad3fd8ce976df226b8d18f1.zip |
Added fetchmail-6.2.5-fetchsizelimit.patch to fix bug #40126
Diffstat (limited to 'net-mail/fetchmail/files')
-rw-r--r-- | net-mail/fetchmail/files/fetchmail-6.2.5-fetchsizelimit.patch | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/net-mail/fetchmail/files/fetchmail-6.2.5-fetchsizelimit.patch b/net-mail/fetchmail/files/fetchmail-6.2.5-fetchsizelimit.patch new file mode 100644 index 000000000000..54f0042d4db4 --- /dev/null +++ b/net-mail/fetchmail/files/fetchmail-6.2.5-fetchsizelimit.patch @@ -0,0 +1,15 @@ +--- 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); |