diff options
author | brian <brian@FreeBSD.org> | 2000-10-28 23:56:03 +0000 |
---|---|---|
committer | brian <brian@FreeBSD.org> | 2000-10-28 23:56:03 +0000 |
commit | a03de14c0e3b5048b0ff85871d680fa54c6b06db (patch) | |
tree | 67e69ebfc648c60fcff55cc444034fc9878570f0 /usr.sbin | |
parent | 3a476a0a340b6f8162ee8ca68665a2681fa85ba1 (diff) | |
download | FreeBSD-src-a03de14c0e3b5048b0ff85871d680fa54c6b06db.zip FreeBSD-src-a03de14c0e3b5048b0ff85871d680fa54c6b06db.tar.gz |
Ignore ``#'' properly when told to
Diffstat (limited to 'usr.sbin')
-rw-r--r-- | usr.sbin/ppp/defs.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.sbin/ppp/defs.c b/usr.sbin/ppp/defs.c index 3c72128..2924368 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; } |