dovecot-1.0: Fix to last change: Don't continue if we can't get ...

dovecot at dovecot.org dovecot at dovecot.org
Fri Aug 24 20:00:21 EEST 2007


details:   http://hg.dovecot.org/dovecot-1.0/rev/68f23f982234
changeset: 5388:68f23f982234
user:      Timo Sirainen <tss at iki.fi>
date:      Fri Aug 24 20:00:13 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 2c3124d7d2c2 -r 68f23f982234 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:13 2007 +0300
@@ -88,14 +88,14 @@ static bool init_mailbox(struct client *
 			uoff_t size = mail_get_virtual_size(mail);
 
 			if (size == (uoff_t)-1) {
+				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