diff options
author | Gilles Chehade <gilles@cvs.openbsd.org> | 2014-10-25 18:48:31 +0000 |
---|---|---|
committer | Gilles Chehade <gilles@cvs.openbsd.org> | 2014-10-25 18:48:31 +0000 |
commit | 1db862a23c7b784649160275007881d5fb51b82f (patch) | |
tree | 2a10e06fb9afd7a3175925b3bc8370b20dc1066a /usr.sbin/smtpd/makemap.c | |
parent | 5cb35fa9b5a4c3f3a9953afceee14e76b4801dc8 (diff) |
newaliases / makemap should parse multi-line aliases entries
Diffstat (limited to 'usr.sbin/smtpd/makemap.c')
-rw-r--r-- | usr.sbin/smtpd/makemap.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.sbin/smtpd/makemap.c b/usr.sbin/smtpd/makemap.c index 250bd89ea44..b3fdf3dcba5 100644 --- a/usr.sbin/smtpd/makemap.c +++ b/usr.sbin/smtpd/makemap.c @@ -1,4 +1,4 @@ -/* $OpenBSD: makemap.c,v 1.49 2014/07/08 13:49:09 eric Exp $ */ +/* $OpenBSD: makemap.c,v 1.50 2014/10/25 18:48:30 gilles Exp $ */ /* * Copyright (c) 2008 Gilles Chehade <gilles@poolp.org> @@ -234,7 +234,7 @@ parse_map(char *filename) char *line; size_t len; size_t lineno = 0; - char delim[] = { '\\', 0, 0 }; + char delim[] = { '\\', '\\', '#' }; if (strcmp(filename, "-") == 0) fp = fdopen(0, "r"); |