diff options
author | henning <henning@openbsd.org> | 2004-04-13 23:57:49 +0000 |
---|---|---|
committer | henning <henning@openbsd.org> | 2004-04-13 23:57:49 +0000 |
commit | fbc5e94d8e89368e1afcbe0575f803f735886ea0 (patch) | |
tree | e52147dc244c045b5293ccede5d66bd49e2aa4e5 /usr.sbin/dhcpd/conflex.c | |
parent | may the whacking begin (diff) | |
download | wireguard-openbsd-fbc5e94d8e89368e1afcbe0575f803f735886ea0.tar.xz wireguard-openbsd-fbc5e94d8e89368e1afcbe0575f803f735886ea0.zip |
time_t and kill a few dumb defines
Diffstat (limited to 'usr.sbin/dhcpd/conflex.c')
-rw-r--r-- | usr.sbin/dhcpd/conflex.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.sbin/dhcpd/conflex.c b/usr.sbin/dhcpd/conflex.c index 58136a2bc1a..cc7dde96aa3 100644 --- a/usr.sbin/dhcpd/conflex.c +++ b/usr.sbin/dhcpd/conflex.c @@ -94,7 +94,7 @@ static int get_char (cfile) { int c = getc (cfile); if (!ugflag) { - if (c == EOL) { + if (c == '\n') { if (cur_line == line1) { cur_line = line2; prev_line = line1; @@ -223,7 +223,7 @@ static void skip_to_eol (cfile) c = get_char (cfile); if (c == EOF) return; - if (c == EOL) + if (c == '\n') return; } while (1); } |