summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDenys Vlasenko <vda.linux@googlemail.com>2011-11-19 12:54:50 (GMT)
committer Denys Vlasenko <vda.linux@googlemail.com>2011-11-19 12:54:50 (GMT)
commit578b8171511f67a9c2afc5c6ae9745de9f9b5e42 (patch)
treeba9509048907f2dfbe6095e208f2f9d85d835d6e
parent41fea01066539ed8e958c21591a5fe7155565ceb (diff)
downloadbusybox-578b8171511f67a9c2afc5c6ae9745de9f9b5e42.tar.gz
busybox-578b8171511f67a9c2afc5c6ae9745de9f9b5e42.tar.bz2
sendmail: fix a mistake in previous commit
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
-rw-r--r--mailutils/sendmail.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/mailutils/sendmail.c b/mailutils/sendmail.c
index f96ca32..aa381c6 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).