From: Ian Jackson Date: Sun, 12 Oct 2014 19:34:42 +0000 (+0100) Subject: src/types.c: Clarify addr_rrtypeflag loop (style) X-Git-Tag: wip.ipv6.2014-10-13.tip~3 X-Git-Url: https://git.distorted.org.uk/~mdw/adns/commitdiff_plain/de3f4632a456b96947ca51613694121465bcc15a src/types.c: Clarify addr_rrtypeflag loop (style) This structure avoids repeating the loop termination condition. Signed-off-by: Ian Jackson --- diff --git a/src/types.c b/src/types.c index 55a7709..5062c6a 100644 --- a/src/types.c +++ b/src/types.c @@ -373,8 +373,10 @@ static unsigned addr_rrtypeflag(adns_rrtype type) { int i; type &= adns_rrt_typemask; - for (i=0; i