X-Git-Url: http://git.madism.org/?p=apps%2Fmadmutt.git;a=blobdiff_plain;f=parse.c;h=34ba5ce1691aa40f7de4e958ff07839e05a8674e;hp=bd0772af12a9c182e1bb70a29e6cb6b2066c072e;hb=68a42bf9a3ce1a00e302112c01df22c3a29d24ac;hpb=ba5e3af4ea19e1d20c80941c077039871ec84258 diff --git a/parse.c b/parse.c index bd0772a..34ba5ce 100644 --- a/parse.c +++ b/parse.c @@ -12,6 +12,10 @@ #endif #include "mutt.h" +#include "buffer.h" +#include "enter.h" +#include "ascii.h" +#include "recvattach.h" #include "mx.h" #include "mime.h" #include "rfc2047.h" @@ -1030,7 +1034,7 @@ int mutt_parse_rfc822_line (ENVELOPE * e, HEADER * hdr, char *line, char *p, * bothered me for _years_ */ if (!e->from) { e->from = rfc822_new_address (); - e->from->personal = str_dup (line + 6); + e->from->personal = str_dup (p); } matched = 1; }