aboutsummaryrefslogtreecommitdiffstats
path: root/imap.c
diff options
context:
space:
mode:
Diffstat (limited to 'imap.c')
-rw-r--r--imap.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/imap.c b/imap.c
index ed63c076..2ee7759e 100644
--- a/imap.c
+++ b/imap.c
@@ -635,8 +635,8 @@ static int imap_getsizes(int sock, int count, int *sizes)
else if (sscanf(buf, "* %u FETCH (RFC822.SIZE %u)", &num, &size) == 2) {
if (num > 0 && num <= count)
sizes[num - 1] = size;
- /* else, strict: protocol error, flexible: nothing
- * I vote for flexible. */
+ else
+ report(stderr, "Warning: ignoring bogus data for message sizes returned by the server.\n");
}
}