From: Ian Jackson Date: Fri, 24 Oct 2014 20:49:44 +0000 (+0100) Subject: resolv.conf parser: Avoid duplicating lengths in option parser X-Git-Tag: adns-1.5.0-rc1~13 X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~mdw/git/adns/commitdiff_plain/229f72fa85fb16abdb2ee760c0d89f28b6151d64?hp=229f72fa85fb16abdb2ee760c0d89f28b6151d64 resolv.conf parser: Avoid duplicating lengths in option parser Replace a lot of things like `l>=5 && memcmp(word,"debug",5)' with use of some new macros. No functional change. Signed-off-by: Ian Jackson ---