From: Timo Sirainen Date: Fri, 24 Sep 2010 16:35:51 +0000 (+0100) Subject: sdbox: Use "sdbox" name in the internal storage structure. X-Git-Tag: 2.0.4~7 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=afa201e7e1d2447e8dfa1aff43de0fdad564105f;p=thirdparty%2Fdovecot%2Fcore.git sdbox: Use "sdbox" name in the internal storage structure. This fixes copying with hard links. --- diff --git a/src/lib-storage/index/dbox-single/sdbox-storage.c b/src/lib-storage/index/dbox-single/sdbox-storage.c index 56c23285b0..c9d19dd7b2 100644 --- a/src/lib-storage/index/dbox-single/sdbox-storage.c +++ b/src/lib-storage/index/dbox-single/sdbox-storage.c @@ -22,7 +22,7 @@ static struct mail_storage *sdbox_storage_alloc(void) pool = pool_alloconly_create("sdbox storage", 512+256); storage = p_new(pool, struct sdbox_storage, 1); storage->storage.v = sdbox_dbox_storage_vfuncs; - storage->storage.storage = dbox_storage; + storage->storage.storage = sdbox_storage; storage->storage.storage.pool = pool; return &storage->storage.storage; }