From: Denys Vlasenko Date: Sat, 19 Nov 2011 12:54:50 +0000 (+0100) Subject: sendmail: fix a mistake in previous commit X-Git-Tag: 1_20_0~143^2~2 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=578b8171511f67a9c2afc5c6ae9745de9f9b5e42;p=oweals%2Fbusybox.git sendmail: fix a mistake in previous commit Signed-off-by: Denys Vlasenko --- diff --git a/mailutils/sendmail.c b/mailutils/sendmail.c index f96ca3291..aa381c60f 100644 --- a/mailutils/sendmail.c +++ b/mailutils/sendmail.c @@ -293,7 +293,7 @@ int sendmail_main(int argc UNUSED_PARAM, char **argv) continue; // N.B. Bcc: vanishes from headers! } } - if (strchr(s, ':') || (list && isspace(s))) { + if (strchr(s, ':') || (list && isspace(s[0]))) { // other headers go verbatim // N.B. RFC2822 2.2.3 "Long Header Fields" allows for headers to occupy several lines. // Continuation is denoted by prefixing additional lines with whitespace(s).