diff options
author | Gilles Chehade <gilles@poolp.org> | 2014-10-15 21:10:59 +0200 |
---|---|---|
committer | Gilles Chehade <gilles@poolp.org> | 2014-10-15 21:10:59 +0200 |
commit | 432ebb7d6a3f3e693ff1658a03a57580d8de5799 (patch) | |
tree | 677616d0e3496bf5e4436737c3f705205d6ce5d2 | |
parent | Allow empty headers. (diff) | |
download | OpenSMTPD-432ebb7d6a3f3e693ff1658a03a57580d8de5799.tar.xz OpenSMTPD-432ebb7d6a3f3e693ff1658a03a57580d8de5799.zip |
revert, incorrect
-rw-r--r-- | smtpd/rfc2822.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/smtpd/rfc2822.c b/smtpd/rfc2822.c index bcdc45c7..61c7b769 100644 --- a/smtpd/rfc2822.c +++ b/smtpd/rfc2822.c @@ -76,7 +76,7 @@ parser_feed_header(struct rfc2822_parser *rp, char *line) char *pos; /* new header */ - if (! isspace(*line) && *line != '\0') { + if (! isspace(*line)) { rp->in_hdr = 1; if ((pos = strchr(line, ':')) == NULL) return 0; |