Actually ignore comments at the end of lines - broken with the commit

that made ppp *not* treat #s in quoted arguments as comments.
This commit is contained in:
Brian Somers 2000-01-27 00:40:10 +00:00
parent 5059d6a601
commit d81cf7d011
1 changed files with 1 additions and 1 deletions

View File

@ -296,7 +296,7 @@ MakeArgs(char *script, char **pvect, int maxargs, int flags)
int nargs;
nargs = 0;
while (*script) {
while (*script && *script != '#') {
script += strspn(script, " \t");
if (*script) {
if (nargs >= maxargs - 1)