diff options
-rw-r--r-- | usr.sbin/ppp/defs.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/usr.sbin/ppp/defs.c b/usr.sbin/ppp/defs.c index 2924368..0e61f88 100644 --- a/usr.sbin/ppp/defs.c +++ b/usr.sbin/ppp/defs.c @@ -313,10 +313,9 @@ MakeArgs(char *script, char **pvect, int maxargs, int flags) script = findblank(script, flags); if (script == NULL) return -1; - else if (!(flags & PARSE_NOHASH) && *script == '#') { + else if (!(flags & PARSE_NOHASH) && *script == '#') *script = '\0'; - nargs--; - } else if (*script) + else if (*script) *script++ = '\0'; } } |