]> git.ipfire.org Git - thirdparty/dovecot/core.git/commitdiff
sdbox: Use "sdbox" name in the internal storage structure.
authorTimo Sirainen <tss@iki.fi>
Fri, 24 Sep 2010 16:35:51 +0000 (17:35 +0100)
committerTimo Sirainen <tss@iki.fi>
Fri, 24 Sep 2010 16:35:51 +0000 (17:35 +0100)
This fixes copying with hard links.

src/lib-storage/index/dbox-single/sdbox-storage.c

index 56c23285b041d79945c2d924af2ccfc468233fdb..c9d19dd7b2d80770bf9c4581d6a81c7c4edbfe82 100644 (file)
@@ -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;
 }