C99 isn't good enough for us, we use C89

SVN revision: 71782
This commit is contained in:
Mike Blumenkrantz 2012-06-07 08:29:45 +00:00
parent 2788917365
commit 7948321b93
1 changed files with 2 additions and 1 deletions

View File

@ -7108,8 +7108,9 @@ static int parse_packet(int argc, char *argv[]) {
struct dns_rr rrset[32];
struct dns_rr_i *rri = dns_rr_i_new(Q, .name = dns_d_new("ns8.yahoo.com", DNS_D_ANCHOR), .sort = MAIN.sort);
unsigned rrcount = dns_rr_grep(rrset, lengthof(rrset), rri, Q, &error);
unsigned i;
for (unsigned i = 0; i < rrcount; i++) {
for (i = 0; i < rrcount; i++) {
rr = rrset[i];
#endif
if (section != rr.section)