summaryrefslogtreecommitdiff
path: root/sbin/dhclient/parse.c
diff options
context:
space:
mode:
authorHenning Brauer <henning@cvs.openbsd.org>2004-02-24 13:08:27 +0000
committerHenning Brauer <henning@cvs.openbsd.org>2004-02-24 13:08:27 +0000
commit54a65b5db0fbff3fb634d539917efcbfb73eb298 (patch)
tree4e549492d1d06fcb1618e4813e867819e2062309 /sbin/dhclient/parse.c
parentd5ba17f4cc03c8b1adcd764730d2074392f6588f (diff)
cut more crap - no binary change
Diffstat (limited to 'sbin/dhclient/parse.c')
-rw-r--r--sbin/dhclient/parse.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sbin/dhclient/parse.c b/sbin/dhclient/parse.c
index b270a843d8a..de1a87ac37b 100644
--- a/sbin/dhclient/parse.c
+++ b/sbin/dhclient/parse.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: parse.c,v 1.6 2004/02/23 20:09:02 deraadt Exp $ */
+/* $OpenBSD: parse.c,v 1.7 2004/02/24 13:08:26 henning Exp $ */
/* Common parser code for dhcpd and dhclient. */
@@ -78,7 +78,7 @@ skip_to_semi(FILE *cfile)
} else if (token == SEMI && !brace_count) {
token = next_token(&val, cfile);
return;
- } else if (token == EOL) {
+ } else if (token == '\n') {
/*
* EOL only happens when parsing
* /etc/resolv.conf, and we treat it like a