aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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;