X-Git-Url: http://git.madism.org/?p=apps%2Fmadmutt.git;a=blobdiff_plain;f=hcache.c;h=a7574158eb151f157348029998e78feff73a5b3d;hp=da3d6bbc08b9b7b3198c9ebac9619b3bafae088f;hb=a742b680bdba8cb47d2b81ab3397cdbec7ed5b69;hpb=01bd0a7410e476abaebf03d820bcf31a5ec4c7c0 diff --git a/hcache.c b/hcache.c index da3d6bb..a757415 100644 --- a/hcache.c +++ b/hcache.c @@ -208,7 +208,7 @@ static void restore_list (string_list_t ** l, const unsigned char *d, int *off) *l = NULL; } -static unsigned char *dump_parameter (PARAMETER * p, unsigned char *d, +static unsigned char *dump_parameter (parameter_t * p, unsigned char *d, int *off) { unsigned int counter = 0; @@ -229,7 +229,7 @@ static unsigned char *dump_parameter (PARAMETER * p, unsigned char *d, } static void -restore_parameter (PARAMETER ** p, const unsigned char *d, int *off) +restore_parameter (parameter_t ** p, const unsigned char *d, int *off) { unsigned int counter; @@ -504,7 +504,7 @@ HEADER *mutt_hcache_restore (const unsigned char *d, HEADER ** oh) h->env = envelope_new(); restore_envelope (h->env, d, &off); - h->content = mutt_new_body (); + h->content = body_new(); restore_body (h->content, d, &off); restore_char (&h->maildir_flags, d, &off);