mirror of https://github.com/getdnsapi/getdns.git
Fix issue #44 - remove extra i++
This commit is contained in:
parent
cc8fc8aaf7
commit
8792fe63a2
|
@ -596,7 +596,6 @@ getdns_pp_list(ldns_buffer * buf, size_t indent, struct getdns_list *list)
|
||||||
if (ldns_buffer_printf(buf, " <unknown>") < 0)
|
if (ldns_buffer_printf(buf, " <unknown>") < 0)
|
||||||
return -1;
|
return -1;
|
||||||
}
|
}
|
||||||
i++;
|
|
||||||
}
|
}
|
||||||
indent -= 2;
|
indent -= 2;
|
||||||
if (ldns_buffer_printf(buf, i ? "\n%s]" : "]",
|
if (ldns_buffer_printf(buf, i ? "\n%s]" : "]",
|
||||||
|
|
Loading…
Reference in New Issue