]> git.ipfire.org Git - thirdparty/dovecot/core.git/commitdiff
cleanup
authorTimo Sirainen <tss@iki.fi>
Sun, 26 Oct 2003 17:28:44 +0000 (19:28 +0200)
committerTimo Sirainen <tss@iki.fi>
Sun, 26 Oct 2003 17:28:44 +0000 (19:28 +0200)
--HG--
branch : HEAD

src/lib-index/mail-cache.c

index a47f8c8a846557cf0298ada5dd7f4ab80bdba396..8d11e39aa17fb9d5735ca8f501d3e9af4e99aa68 100644 (file)
@@ -810,8 +810,8 @@ int mail_cache_truncate(struct mail_cache *cache)
 
        memset(&hdr, 0, sizeof(hdr));
        hdr.indexid = cache->index->indexid;
-       hdr.sync_id = cache->sync_id = cache->index->cache_sync_id
-               =++cache->index->header->cache_sync_id;
+       hdr.sync_id = cache->sync_id = cache->index->cache_sync_id =
+               ++cache->index->header->cache_sync_id;
        hdr.used_file_size = uint32_to_nbo(sizeof(hdr));
        cache->used_file_size = sizeof(hdr);