X-Git-Url: http://git.madism.org/?p=apps%2Fmadmutt.git;a=blobdiff_plain;f=parse.c;h=df02f235d294fc89c88ff43f4758981f5249695d;hp=8175f6f396739b44762684c9e8c00692bf8c0ce5;hb=d0dc8fb657cff90709c15d4b106415b868857f6a;hpb=2a06362a155582cd59ae2ef6f0df71694a7eede3 diff --git a/parse.c b/parse.c index 8175f6f..df02f23 100644 --- a/parse.c +++ b/parse.c @@ -23,7 +23,6 @@ #include "enter.h" #include "recvattach.h" #include "mx.h" -#include "rfc2047.h" #include "mutt_crypt.h" #include "url.h" @@ -1027,7 +1026,7 @@ int mutt_parse_rfc822_line (ENVELOPE * e, HEADER * hdr, char *line, char *p, * and mark mail/(esp.) news article as your own. aaargh! this * bothered me for _years_ */ if (!e->from) { - e->from = rfc822_new_address (); + e->from = address_new (); e->from->personal = m_strdup(p); } matched = 1; @@ -1103,7 +1102,7 @@ int mutt_parse_rfc822_line (ENVELOPE * e, HEADER * hdr, char *line, char *p, else if (!ascii_strncasecmp (line + 1, "ail-", 4)) { if (!ascii_strcasecmp (line + 5, "reply-to")) { /* override the Reply-To: field */ - rfc822_free_address (&e->reply_to); + address_delete (&e->reply_to); e->reply_to = rfc822_parse_adrlist (e->reply_to, p); matched = 1; } @@ -1398,7 +1397,7 @@ ENVELOPE *mutt_read_rfc822_header (FILE * f, HEADER * hdr, short user_hdrs, return (e); } -ADDRESS *mutt_parse_adrlist (ADDRESS * p, const char *s) +address_t *mutt_parse_adrlist (address_t * p, const char *s) { const char *q;