From: Pierre Habouzit Date: Sun, 13 May 2007 21:03:34 +0000 (+0200) Subject: fix stupid regression in hcache patch X-Git-Url: http://git.madism.org/?a=commitdiff_plain;h=7d7b69b974a2db6f66c586de0840ec55c4150d0e;p=apps%2Fmadmutt.git fix stupid regression in hcache patch Signed-off-by: Pierre Habouzit --- diff --git a/lib-mx/hcache.c b/lib-mx/hcache.c index 9da36a0..74ccb5d 100644 --- a/lib-mx/hcache.c +++ b/lib-mx/hcache.c @@ -450,7 +450,7 @@ void *mutt_hcache_fetch(hcache_t *db, const char *filename, if (data) { unsigned crc = 0; - restore_int(data, (int *)&crc); + restore_int(data + sizeof(long), (int *)&crc); if (crc != db->crc) p_delete(&data); }