changeset 15675:ceb75581cfcb

dsync: Fixed syncing locally when GUIDs weren't available.
author Timo Sirainen <tss@iki.fi>
date Mon, 28 Jan 2013 13:48:09 +0200
parents 6fa779e1d663
children d3cda5a567be
files src/doveadm/dsync/dsync-ibc-pipe.c
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/src/doveadm/dsync/dsync-ibc-pipe.c	Thu Jan 24 16:30:33 2013 +0200
+++ b/src/doveadm/dsync/dsync-ibc-pipe.c	Mon Jan 28 13:48:09 2013 +0200
@@ -408,6 +408,7 @@
 
 	item = dsync_ibc_pipe_push_item(pipe->remote, ITEM_MAIL);
 	item->u.mail.guid = p_strdup(item->pool, mail->guid);
+	item->u.mail.uid = mail->uid;
 	item->u.mail.pop3_uidl = p_strdup(item->pool, mail->pop3_uidl);
 	item->u.mail.pop3_order = mail->pop3_order;
 	item->u.mail.received_date = mail->received_date;