]> git.ipfire.org Git - thirdparty/ldns.git/commitdiff
Patch for ldns-keyfetcher
authorJan-Piet Mens <jpmens.dns@gmail.com>
Tue, 25 Aug 2015 14:58:34 +0000 (16:58 +0200)
committerWillem Toorop <willem@nlnetlabs.nl>
Thu, 27 Aug 2015 08:09:22 +0000 (10:09 +0200)
Hello,

There's a very nasty bug in ldns-keyfetcher which prevents things like

        ldns-keyfetcher ... | wc -l

from working properly. I discovered this very nasty bug ages ago, but
only recently was I able to finally get around to producing this (cough)
Jumbo Patch for it. It's been running in production for several hours
now without any visible negative impact.

As I'm not quite sure whether this list supports huge attachments, I'm
adding the patch inline: please excuse the wasted bandwidth.

Best regards ;-)

        -JP

examples/ldns-keyfetcher.c

index 48e1683b52a41921c12b84f5b9def2f445621595..17e195b266cb228d7d9eb0c1dbe783e3c9701704 100644 (file)
@@ -725,7 +725,6 @@ main(int argc, char *argv[])
                fprintf(stderr, "no answer packet received, stub resolver config:\n");
                ldns_resolver_print(stderr, res);
        }
-       printf("\n");
 
        ldns_rdf_deep_free(domain);
        ldns_resolver_deep_free(res);