Rocco Rutte:
authorpdmef <pdmef@e385b8ad-14ed-0310-8656-cc95a2468c6d>
Fri, 25 Nov 2005 07:02:01 +0000 (07:02 +0000)
committerpdmef <pdmef@e385b8ad-14ed-0310-8656-cc95a2468c6d>
Fri, 25 Nov 2005 07:02:01 +0000 (07:02 +0000)
- make hcache dump/restore List-Post: information (fixes Debian #339737)

git-svn-id: svn://svn.berlios.de/mutt-ng/trunk@621 e385b8ad-14ed-0310-8656-cc95a2468c6d

VERSION.svn
hcache.c

index 39f541d..7e1aa32 100644 (file)
@@ -1 +1 @@
-619
+621
index 7a7c2ee..0febef6 100644 (file)
--- a/hcache.c
+++ b/hcache.c
@@ -14,7 +14,7 @@
 
 #ifdef USE_HCACHE
 
-#define MUTTNG_HCACHE_ID        "0x003"
+#define MUTTNG_HCACHE_ID        "0x004"
 
 # if HAVE_INTTYPES_H
 #  include <inttypes.h>
@@ -376,6 +376,7 @@ static unsigned char *dump_envelope (ENVELOPE * e, unsigned char *d, int *off)
   d = dump_char (e->supersedes, d, off);
   d = dump_char (e->date, d, off);
   d = dump_char (e->x_label, d, off);
+  d = dump_char (e->list_post, d, off);
 
 #ifdef USE_NNTP
   d = dump_char (e->newsgroups, d, off);
@@ -416,7 +417,8 @@ static void restore_envelope (ENVELOPE * e, const unsigned char *d, int *off)
   restore_char (&e->supersedes, d, off);
   restore_char (&e->date, d, off);
   restore_char (&e->x_label, d, off);
-  
+  restore_char (&e->list_post, d, off);
+
 #ifdef USE_NNTP
   restore_char (&e->newsgroups, d, off);
   restore_char (&e->xref, d, off);