summaryrefslogtreecommitdiffstats
path: root/usr.sbin/smtpd/forward.c
diff options
context:
space:
mode:
Diffstat (limited to 'usr.sbin/smtpd/forward.c')
-rw-r--r--usr.sbin/smtpd/forward.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/usr.sbin/smtpd/forward.c b/usr.sbin/smtpd/forward.c
index 1738c9318ff..b1a498597e8 100644
--- a/usr.sbin/smtpd/forward.c
+++ b/usr.sbin/smtpd/forward.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: forward.c,v 1.33 2013/01/26 09:37:23 gilles Exp $ */
+/* $OpenBSD: forward.c,v 1.34 2013/01/31 18:34:43 eric Exp $ */
/*
* Copyright (c) 2008 Gilles Chehade <gilles@poolp.org>
@@ -67,6 +67,7 @@ forwards_get(int fd, struct expand *expand)
goto end;
}
+ lineno = 0;
while ((line = fparseln(fp, &len, &lineno, NULL, 0)) != NULL) {
if (! expand_line(expand, line, 0)) {
log_info("info: parse error in forward file");