From 2140e71d5b1140845b45fbb2cb21f97d5e34c3dc Mon Sep 17 00:00:00 2001 From: Ian Jackson Date: Sun, 12 Oct 2014 20:34:42 +0100 Subject: [PATCH] src/types.c: Clarify addr_rrtypeflag loop (style) This structure avoids repeating the loop termination condition. Signed-off-by: Ian Jackson --- src/types.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) 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