]> git.ozlabs.org Git - ppp.git/commitdiff
fix bug in option word processing
authorPaul Mackerras <paulus@samba.org>
Mon, 10 Jan 1994 00:19:28 +0000 (00:19 +0000)
committerPaul Mackerras <paulus@samba.org>
Mon, 10 Jan 1994 00:19:28 +0000 (00:19 +0000)
pppd/options.c

index 769d2e86b55dd083cf6c4343e67ffd8097af6cac..1972516068ca991f2cdd6280eb22e450caf24a94 100644 (file)
@@ -18,7 +18,7 @@
  */
 
 #ifndef lint
  */
 
 #ifndef lint
-static char rcsid[] = "$Id: options.c,v 1.2 1993/11/23 23:40:53 paulus Exp $";
+static char rcsid[] = "$Id: options.c,v 1.3 1994/01/10 00:19:28 paulus Exp $";
 #endif
 
 #include <stdio.h>
 #endif
 
 #include <stdio.h>
@@ -461,7 +461,7 @@ getword(f, word, newlinep, filename)
                word[len] = c;
            ++len;
            if (c == '\\')
                word[len] = c;
            ++len;
            if (c == '\\')
-               quoted = 1;
+               escape = 1;
        }
        if ((c = getc(f)) == EOF)
            break;
        }
        if ((c = getc(f)) == EOF)
            break;