$OpenBSD: patch-sendlib_c,v 1.1 2014/12/13 22:55:24 sthen Exp $

debian #771674

--- sendlib.c.orig	Sat Dec 13 22:49:40 2014
+++ sendlib.c	Sat Dec 13 22:51:10 2014
@@ -1814,7 +1814,12 @@ static int write_one_header (FILE *fp, int pfxw, int m
     {
       tagbuf = mutt_substrdup (start, t);
       /* skip over the colon separating the header field name and value */
-      t = skip_email_wsp(t + 1);
+      ++t;
+
+      /* skip over any leading whitespace (WSP, as defined in RFC5322) */
+      while (*t == ' ' || *t == '\t')
+        t++;
+
       valbuf = mutt_substrdup (t, end);
     }
     dprint(4,(debugfile,"mwoh: buf[%s%s] too long, "
