changeset 15615:1ab8e0e699f7

mdbox rebuild: Update to previous commit
author Timo Sirainen <tss@iki.fi>
date Wed, 09 Jan 2013 07:01:41 +0200
parents 6ff1678c289f
children ec9b98df8c72 6bee6d0c611f
files src/lib-storage/index/dbox-multi/mdbox-storage-rebuild.c
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/src/lib-storage/index/dbox-multi/mdbox-storage-rebuild.c	Wed Jan 09 06:59:51 2013 +0200
+++ b/src/lib-storage/index/dbox-multi/mdbox-storage-rebuild.c	Wed Jan 09 07:01:41 2013 +0200
@@ -430,6 +430,7 @@
 			   still try to look it up using map_uid. */
 			rec = map_uid == 0 ? NULL :
 				rebuild_lookup_map_uid(ctx, map_uid);
+			map_uid = rec->map_uid;
 		} else if (!guid_hash_have_map_uid(&rec, map_uid)) {
 			/* message's GUID and map_uid point to different
 			   physical messages. assume that GUID is correct and