From: Baptiste Assmann Date: Mon, 18 Apr 2016 17:42:57 +0000 (+0200) Subject: CLEANUP/MINOR dns: comment do not follow up code update X-Git-Tag: v1.7-dev5~49 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=bcbd491e9ccb042873e65fd5907e3232b63d5444;p=thirdparty%2Fhaproxy.git CLEANUP/MINOR dns: comment do not follow up code update The loop comment is not appropriate anymore and needed to be updated according to the code. backport: no --- diff --git a/src/dns.c b/src/dns.c index c76637f870..b9dce6b1e3 100644 --- a/src/dns.c +++ b/src/dns.c @@ -725,7 +725,7 @@ int dns_get_ip_from_response(unsigned char *resp, unsigned char *resp_end, /* move forward data_len for analyzing next record in the response */ reader += data_len; } /* switch (record type) */ - } /* for i 0 to ancount */ + } /* list for each record entries */ /* Select an IP regarding configuration preference. * Top priority is the prefered network ip version,