dovecot: Fix to last change: Don't continue if we can't get mess...
dovecot at dovecot.org
dovecot at dovecot.org
Fri Aug 24 20:00:18 EEST 2007
details: http://hg.dovecot.org/dovecot/rev/05aabdc581b1
changeset: 6312:05aabdc581b1
user: Timo Sirainen <tss at iki.fi>
date: Fri Aug 24 20:00:14 2007 +0300
description:
Fix to last change: Don't continue if we can't get message's size.
diffstat:
1 file changed, 2 insertions(+), 2 deletions(-)
src/pop3/client.c | 4 ++--
diffs (20 lines):
diff -r e84fad8d3987 -r 05aabdc581b1 src/pop3/client.c
--- a/src/pop3/client.c Fri Aug 24 19:56:40 2007 +0300
+++ b/src/pop3/client.c Fri Aug 24 20:00:14 2007 +0300
@@ -86,14 +86,14 @@ static bool init_mailbox(struct client *
mail = mail_alloc(t, MAIL_FETCH_VIRTUAL_SIZE, NULL);
while (mailbox_search_next(ctx, mail) > 0) {
if (mail_get_virtual_size(mail, &size) < 0) {
+ expunged = mail->expunged;
+ failed = TRUE;
if (failed_uid == mail->uid) {
i_error("Getting size of message "
"UID=%u failed", mail->uid);
break;
}
failed_uid = mail->uid;
- expunged = mail->expunged;
- failed = TRUE;
break;
}
More information about the dovecot-cvs
mailing list