From 27f25c18e3e4e765ece326700ffdd835ad63025f Mon Sep 17 00:00:00 2001 From: brian Date: Fri, 14 Nov 1997 15:38:07 +0000 Subject: Allow blank lines in config entries (they aren't terminators). --- usr.sbin/ppp/systems.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'usr.sbin/ppp/systems.c') diff --git a/usr.sbin/ppp/systems.c b/usr.sbin/ppp/systems.c index 53ad8de..242400c 100644 --- a/usr.sbin/ppp/systems.c +++ b/usr.sbin/ppp/systems.c @@ -17,7 +17,7 @@ * IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED * WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE. * - * $Id: systems.c,v 1.25 1997/11/12 16:34:51 brian Exp $ + * $Id: systems.c,v 1.26 1997/11/13 14:43:20 brian Exp $ * * TODO: */ @@ -304,7 +304,7 @@ ReadSystem(const char *name, const char *file, int doexec) RunCommand(argc, argv, name); VarLocalAuth = olauth; } - } else if (*cp == '#') { + } else if (*cp == '#' || *cp == '\n' || *cp == '\0') { continue; } else break; -- cgit v1.1