aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEric S. Raymond <esr@thyrsus.com>1997-09-18 19:58:42 +0000
committerEric S. Raymond <esr@thyrsus.com>1997-09-18 19:58:42 +0000
commite263587365ab0c400f27cd5885c74fd30471b16f (patch)
tree1c42ff68b6ce98c6acc2b4e9ce3f6dea5892af1a
parent7d8b3d857b90d76b78b74a58e30e710d41cc4676 (diff)
downloadfetchmail-e263587365ab0c400f27cd5885c74fd30471b16f.tar.gz
fetchmail-e263587365ab0c400f27cd5885c74fd30471b16f.tar.bz2
fetchmail-e263587365ab0c400f27cd5885c74fd30471b16f.zip
Fix error in IMAP size retrieval.
svn path=/trunk/; revision=1371
-rw-r--r--imap.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/imap.c b/imap.c
index 3105116e..f3a45f73 100644
--- a/imap.c
+++ b/imap.c
@@ -447,7 +447,7 @@ static int imap_getsizes(int sock, int count, int *sizes)
char buf [POPBUFSIZE+1];
gen_send(sock, "FETCH 1:%d RFC822.SIZE", count);
- while (SockRead(sock, buf, sizeof(buf)))
+ for (;;)
{
int num, size, ok;