2
0
mirror of https://gitlab.isc.org/isc-projects/bind9 synced 2025-08-31 06:25:31 +00:00

[master] fix wire_test so it can read files with comment lines

This commit is contained in:
Evan Hunt
2015-09-18 11:39:31 -07:00
parent f6e45a5c54
commit cc52a16096

View File

@@ -212,7 +212,7 @@ main(int argc, char *argv[]) {
rp++;
}
if (len == 0U)
break;
continue;
if (len % 2 != 0U) {
fprintf(stderr, "bad input format: %lu\n",
(unsigned long)len);