Some parsing code cleanup: add parse_boolean(); pass literal format
authorkrw <krw@openbsd.org>
Sun, 9 Jul 2017 18:45:27 +0000 (18:45 +0000)
committerkrw <krw@openbsd.org>
Sun, 9 Jul 2017 18:45:27 +0000 (18:45 +0000)
commitcbfbc5190786639e07f1e30de9b06f6a7c9818f3
treeb8585a1d28dfcc83c1212e30314e04f763082636
parent8809da582cb7ceccbeb0a893425bef099c44ad02
Some parsing code cleanup: add parse_boolean(); pass literal format
chars to parse_decimal() instead of less obvious *fmt; refactor
to eliminate need for the 'alloc:' and 'bad_flag:' labels and the
invidious backwards goto's to them.
sbin/dhclient/clparse.c
sbin/dhclient/dhcpd.h
sbin/dhclient/parse.c