summaryrefslogtreecommitdiffstats
path: root/init.c
diff options
context:
space:
mode:
authorThomas Roessler <roessler@does-not-exist.org>2000-02-16 13:57:56 +0000
committerThomas Roessler <roessler@does-not-exist.org>2000-02-16 13:57:56 +0000
commitef470b55fbd6fc8bfa1ef03287fc4b1f965a1700 (patch)
treecf7374d03e2f3fe37e3c8a6a6c54a0a3f2ec9994 /init.c
parent381de6dc4dbb47e8dd1ece42bd1c5b8694820d0c (diff)
Permit empty my_hdrs. Suggested by Edmund Grimley Evans.
Diffstat (limited to 'init.c')
-rw-r--r--init.c7
1 files changed, 0 insertions, 7 deletions
diff --git a/init.c b/init.c
index 6d0fa3ca..493208ea 100644
--- a/init.c
+++ b/init.c
@@ -582,13 +582,6 @@ static int parse_my_hdr (BUFFER *buf, BUFFER *s, unsigned long data, BUFFER *err
return (-1);
}
keylen = p - buf->data + 1;
- p++;
- SKIPWS (p);
- if (!*p)
- {
- snprintf (err->data, err->dsize, _("ignoring empty header field: %s"), buf->data);
- return (-1);
- }
if (UserHeader)
{