projects
/
apps
/
madmutt.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
612f19a
)
fix stupid regression in hcache patch
author
Pierre Habouzit
<madcoder@debian.org>
Sun, 13 May 2007 21:03:34 +0000
(23:03 +0200)
committer
Pierre Habouzit
<madcoder@debian.org>
Sun, 13 May 2007 21:03:34 +0000
(23:03 +0200)
Signed-off-by: Pierre Habouzit <madcoder@debian.org>
lib-mx/hcache.c
patch
|
blob
|
history
diff --git
a/lib-mx/hcache.c
b/lib-mx/hcache.c
index
9da36a0
..
74ccb5d
100644
(file)
--- 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);
}