]> granicus.if.org Git - neomutt/commitdiff
Fix typo in 26b19fc9b78c
authorBrendan Cully <brendan@kublai.com>
Fri, 6 Apr 2007 01:24:06 +0000 (18:24 -0700)
committerBrendan Cully <brendan@kublai.com>
Fri, 6 Apr 2007 01:24:06 +0000 (18:24 -0700)
hcache.c

index b2b77f377e39e539f417967620e8b69723b09ad5..7d1ffe4ef90d02f22a6ec21fa663e09cea78f4e8 100644 (file)
--- a/hcache.c
+++ b/hcache.c
@@ -544,7 +544,7 @@ mutt_hcache_dump(header_cache_t *h, HEADER * header, int *off,
   nh.data = NULL;
 #endif
 
-  memcpy(d + *off, header, sizeof (HEADER));
+  memcpy(d + *off, &nh, sizeof (HEADER));
   *off += sizeof (HEADER);
 
   d = dump_envelope(header->env, d, off);