From e263587365ab0c400f27cd5885c74fd30471b16f Mon Sep 17 00:00:00 2001 From: "Eric S. Raymond" Date: Thu, 18 Sep 1997 19:58:42 +0000 Subject: Fix error in IMAP size retrieval. svn path=/trunk/; revision=1371 --- imap.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; -- cgit v1.2.3