dovecot-2.1: pop3c: Fetching message size could have returned wr...
dovecot at dovecot.org
dovecot at dovecot.org
Fri Sep 14 20:51:14 EEST 2012
details: http://hg.dovecot.org/dovecot-2.1/rev/8cec3b4c43ca
changeset: 14705:8cec3b4c43ca
user: Timo Sirainen <tss at iki.fi>
date: Fri Sep 14 20:51:02 2012 +0300
description:
pop3c: Fetching message size could have returned wrong value
diffstat:
src/lib-storage/index/pop3c/pop3c-mail.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diffs (12 lines):
diff -r 27d3289e1f5c -r 8cec3b4c43ca src/lib-storage/index/pop3c/pop3c-mail.c
--- a/src/lib-storage/index/pop3c/pop3c-mail.c Wed Sep 12 00:20:47 2012 +0300
+++ b/src/lib-storage/index/pop3c/pop3c-mail.c Fri Sep 14 20:51:02 2012 +0300
@@ -30,7 +30,7 @@
struct message_size hdr_size, body_size;
struct istream *input;
- if (mail->data.virtual_size != 0) {
+ if (mail->data.virtual_size != (uoff_t)-1) {
/* virtual size is already known. it's the same as our
(correct) physical size */
*size_r = mail->data.virtual_size;
More information about the dovecot-cvs
mailing list