X-Git-Url: http://git.madism.org/?a=blobdiff_plain;f=copy.c;h=66d30b8c3f821a2840f42f8beb2dc886911bdf3a;hb=c5d1c5652337aba93824f370f5164827a2d46017;hp=d0af92dc2bd1edb2e6bf0a1845d482314e71d8ef;hpb=2a06362a155582cd59ae2ef6f0df71694a7eede3;p=apps%2Fmadmutt.git diff --git a/copy.c b/copy.c index d0af92d..66d30b8 100644 --- a/copy.c +++ b/copy.c @@ -813,7 +813,7 @@ static int copy_delete_attach (BODY * b, FILE * fpin, FILE * fpout, * XXX - fix that. */ -static void format_address_header (char **h, ADDRESS * a) +static void format_address_header (char **h, address_t * a) { char buf[HUGE_STRING]; char cbuf[STRING]; @@ -827,7 +827,7 @@ static void format_address_header (char **h, ADDRESS * a) p_realloc(h, buflen); for (count = 0; a; a = a->next, count++) { - ADDRESS *tmp = a->next; + address_t *tmp = a->next; a->next = NULL; *buf = *cbuf = *c2buf = '\0'; @@ -868,7 +868,7 @@ static int address_header_decode (char **h) char *s = *h; int l; - ADDRESS *a = NULL; + address_t *a = NULL; switch (tolower ((unsigned char) *s)) { case 'r': @@ -940,7 +940,7 @@ static int address_header_decode (char **h) format_address_header (h, a); - rfc822_free_address (&a); + address_delete (&a); p_delete(&s); return 1;