summaryrefslogtreecommitdiff
path: root/net-mail/dovecot/files/dovecot-2.0.12-sdbox.patch
blob: ad16cf3496b8b863982acca47d300ba440421ac9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
diff -r d4945c93c33b -r 663528c5c799 src/lib-storage/index/dbox-single/sdbox-storage.c
--- a/src/lib-storage/index/dbox-single/sdbox-storage.c	Tue Apr 12 18:38:50 2011 +0300
+++ b/src/lib-storage/index/dbox-single/sdbox-storage.c	Sat Apr 30 15:55:08 2011 +0300
@@ -118,6 +118,8 @@
 		mail_index_update_header_ext(trans, mbox->hdr_ext_id, 0,
 					     &new_hdr, sizeof(new_hdr));
 	}
+	memcpy(mbox->mailbox_guid, new_hdr.mailbox_guid,
+	       sizeof(mbox->mailbox_guid));
 }
 
 static int sdbox_mailbox_create_indexes(struct mailbox *box,