]> git.pld-linux.org Git - packages/mutt.git/blob - mutt-from_folding.patch
- fixed From_ line folding, rel. 2
[packages/mutt.git] / mutt-from_folding.patch
1 diff -urNp mutt-1.5.20.orig/sendlib.c mutt-1.5.20/sendlib.c
2 --- mutt-1.5.20.orig/sendlib.c  2009-06-14 17:46:11.000000000 +0200
3 +++ mutt-1.5.20/sendlib.c       2010-09-11 11:49:12.000000000 +0200
4 @@ -1737,7 +1737,7 @@ static int write_one_header (FILE *fp, i
5    }
6    else
7    {
8 -    t = strchr (start, ':');
9 +    if(strncmp("From ",start,5)==0) t = strchr (start, ' '); else t = strchr (start, ':');
10      tagbuf = mutt_substrdup (start, t);
11      valbuf = mutt_substrdup (t + 2, end);
12      dprint(4,(debugfile,"mwoh: buf[%s%s] too long, "
This page took 0.04388 seconds and 3 git commands to generate.