]> git.pld-linux.org Git - packages/mutt.git/blame - mutt-from_folding.patch
- fixed From_ line folding, rel. 2
[packages/mutt.git] / mutt-from_folding.patch
CommitLineData
9bc6de03
TP
1diff -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.097328 seconds and 4 git commands to generate.