aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGilles Chehade <gilles@poolp.org>2014-10-15 21:10:59 +0200
committerGilles Chehade <gilles@poolp.org>2014-10-15 21:10:59 +0200
commit432ebb7d6a3f3e693ff1658a03a57580d8de5799 (patch)
tree677616d0e3496bf5e4436737c3f705205d6ce5d2
parent Allow empty headers. (diff)
downloadOpenSMTPD-432ebb7d6a3f3e693ff1658a03a57580d8de5799.tar.xz
OpenSMTPD-432ebb7d6a3f3e693ff1658a03a57580d8de5799.zip
revert, incorrect
-rw-r--r--smtpd/rfc2822.c2
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;