From 2661ef38a20bd658d9abcb137cdabacbfa95072a Mon Sep 17 00:00:00 2001 From: Brian Somers Date: Sat, 28 Oct 2000 23:56:03 +0000 Subject: [PATCH] Ignore ``#'' properly when told to --- usr.sbin/ppp/defs.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/usr.sbin/ppp/defs.c b/usr.sbin/ppp/defs.c index 3c7212865de..292436813a3 100644 --- a/usr.sbin/ppp/defs.c +++ b/usr.sbin/ppp/defs.c @@ -301,7 +301,7 @@ MakeArgs(char *script, char **pvect, int maxargs, int flags) nargs = 0; while (*script) { script += strspn(script, " \t"); - if (*script == '#' && flags & PARSE_NOHASH) { + if (*script == '#' && !(flags & PARSE_NOHASH)) { *script = '\0'; break; }