diff options
author | brian <brian@FreeBSD.org> | 1997-11-14 15:38:07 +0000 |
---|---|---|
committer | brian <brian@FreeBSD.org> | 1997-11-14 15:38:07 +0000 |
commit | 27f25c18e3e4e765ece326700ffdd835ad63025f (patch) | |
tree | 736c3f92a86fa1579f081c501218bc444ae7574f | |
parent | 8f194113d38e087f21a69047cab0a6fceb55473c (diff) | |
download | FreeBSD-src-27f25c18e3e4e765ece326700ffdd835ad63025f.zip FreeBSD-src-27f25c18e3e4e765ece326700ffdd835ad63025f.tar.gz |
Allow blank lines in config entries (they aren't terminators).
-rw-r--r-- | usr.sbin/ppp/systems.c | 4 |
1 files changed, 2 insertions, 2 deletions
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; |