From: Ted Lemon Date: Wed, 2 May 2001 06:39:43 +0000 (+0000) Subject: Add line-oriented argument to new_parse(). X-Git-Tag: V3-RC5~35 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=263a2ed031d4852edf97b432243f6065d0088fd0;p=thirdparty%2Fdhcp.git Add line-oriented argument to new_parse(). --- diff --git a/common/resolv.c b/common/resolv.c index ed967ab9f..396f9ef74 100644 --- a/common/resolv.c +++ b/common/resolv.c @@ -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);