diff options
author | 1996-05-21 20:53:56 +0000 | |
---|---|---|
committer | 1996-05-21 20:53:56 +0000 | |
commit | 641bb3f04dda001380db66fbfb2088330ffa163b (patch) | |
tree | 27fad19e773fba0a42282ba22fadc9558e99b7be | |
parent | Checking out in dirs having the repository as its prefix was sometimes (diff) | |
download | wireguard-openbsd-641bb3f04dda001380db66fbfb2088330ffa163b.tar.xz wireguard-openbsd-641bb3f04dda001380db66fbfb2088330ffa163b.zip |
allow comments in script; netbsd pr#2450; ksulliva@psc.edu
-rw-r--r-- | usr.sbin/pppd/chat/chat.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/usr.sbin/pppd/chat/chat.c b/usr.sbin/pppd/chat/chat.c index 29be67b4311..79efb648fa2 100644 --- a/usr.sbin/pppd/chat/chat.c +++ b/usr.sbin/pppd/chat/chat.c @@ -31,7 +31,7 @@ * */ -static char rcsid[] = "$Id: chat.c,v 1.1.1.1 1995/10/18 08:48:00 deraadt Exp $"; +static char rcsid[] = "$Id: chat.c,v 1.2 1996/05/21 20:53:56 deraadt Exp $"; #include <stdio.h> #include <time.h> @@ -333,6 +333,8 @@ char *chat_file; linect++; sp = buf; + if ( *sp == '#') + continue; while (*sp != '\0') { if (*sp == ' ' || *sp == '\t') |