X-Git-Url: http://git.madism.org/?p=apps%2Fmadmutt.git;a=blobdiff_plain;f=hcache.c;fp=hcache.c;h=714c204d71d92d33a64d352fbeefa468f2324bcf;hp=af044b9acc70c40813ba55685a0068887508c95a;hb=108f3c7ab59844591f7540347914ea57be5245e2;hpb=0f6739c5be4203bec0fa32962e6ab13349da703b diff --git a/hcache.c b/hcache.c index af044b9..714c204 100644 --- a/hcache.c +++ b/hcache.c @@ -200,7 +200,7 @@ static void restore_address (address_t ** a, const unsigned char *d, int *off) *a = NULL; } -static unsigned char *dump_list (LIST * l, unsigned char *d, int *off) +static unsigned char *dump_list (string_list_t * l, unsigned char *d, int *off) { unsigned int counter = 0; unsigned int start_off = *off; @@ -218,14 +218,14 @@ static unsigned char *dump_list (LIST * l, unsigned char *d, int *off) return d; } -static void restore_list (LIST ** l, const unsigned char *d, int *off) +static void restore_list (string_list_t ** l, const unsigned char *d, int *off) { unsigned int counter; restore_int (&counter, d, off); while (counter) { - *l = p_new(LIST, 1); + *l = p_new(string_list_t, 1); restore_char (&(*l)->data, d, off); l = &(*l)->next; counter--;