dovecot-2.0: dbox: Save POP3 UIDL if it's specified.

dovecot at dovecot.org dovecot at dovecot.org
Mon Feb 22 16:58:15 EET 2010


details:   http://hg.dovecot.org/dovecot-2.0/rev/676ba1a630e1
changeset: 10802:676ba1a630e1
user:      Timo Sirainen <tss at iki.fi>
date:      Mon Feb 22 16:58:12 2010 +0200
description:
dbox: Save POP3 UIDL if it's specified.

diffstat:

 src/lib-storage/index/dbox-common/dbox-save.c |  4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)

diffs (14 lines):

diff -r 5e6f64050daa -r 676ba1a630e1 src/lib-storage/index/dbox-common/dbox-save.c
--- a/src/lib-storage/index/dbox-common/dbox-save.c	Mon Feb 22 16:49:08 2010 +0200
+++ b/src/lib-storage/index/dbox-common/dbox-save.c	Mon Feb 22 16:58:12 2010 +0200
@@ -131,6 +131,10 @@
 		i_unreached();
 	str_printfa(str, "%c%llx\n", DBOX_METADATA_VIRTUAL_SIZE,
 		    (unsigned long long)vsize);
+	if (ctx->pop3_uidl != NULL) {
+		str_printfa(str, "%c%s\n", DBOX_METADATA_POP3_UIDL,
+			    ctx->pop3_uidl);
+	}
 
 	guid = ctx->guid;
 	if (guid != NULL)


More information about the dovecot-cvs mailing list