]> git.ipfire.org Git - thirdparty/dhcp.git/commitdiff
Add line-oriented argument to new_parse().
authorTed Lemon <source@isc.org>
Wed, 2 May 2001 06:39:43 +0000 (06:39 +0000)
committerTed Lemon <source@isc.org>
Wed, 2 May 2001 06:39:43 +0000 (06:39 +0000)
common/resolv.c

index ed967ab9f50753b53d6f0ede37dc12f18c1a40be..396f9ef747f3c651ae92c0b33318bcde1b0ab66c 100644 (file)
@@ -43,7 +43,7 @@
 
 #ifndef lint
 static char copyright[] =
-"$Id: resolv.c,v 1.15 2001/03/17 00:47:34 mellon Exp $ Copyright (c) 1996-2001 The Internet Software Consortium.  All rights reserved.\n";
+"$Id: resolv.c,v 1.16 2001/05/02 06:39:43 mellon Exp $ Copyright (c) 1996-2001 The Internet Software Consortium.  All rights reserved.\n";
 #endif /* not lint */
 
 #include "dhcpd.h"
@@ -70,8 +70,7 @@ void read_resolv_conf (parse_time)
        }
 
        cfile = (struct parse *)0;
-       new_parse (&cfile, file, (char *)0, 0, path_resolv_conf);
-       cfile -> eol_token = 1;
+       new_parse (&cfile, file, (char *)0, 0, path_resolv_conf, 1);
 
        do {
                token = next_token (&val, (unsigned *)0, cfile);