summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Changelog2
-rw-r--r--examples/ldns-keyfetcher.c3
-rw-r--r--host2str.c4
-rw-r--r--net.c2
4 files changed, 6 insertions, 5 deletions
diff --git a/Changelog b/Changelog
index 53cdc089..c4f8e922 100644
--- a/Changelog
+++ b/Changelog
@@ -44,7 +44,7 @@
* DNSSEC is never automaticaly set, even when you query
for DNSKEY/RRSIG or DS.
* Implement a crude RTT check, it now distinguishes between
- reacheable and unreacheable.
+ reachable and unreachable.
* A form of secure tracing was added
* Secure Chasing has been improved
* -x does a reverse lookup for the given IP address
diff --git a/examples/ldns-keyfetcher.c b/examples/ldns-keyfetcher.c
index d1cbb282..13e9e384 100644
--- a/examples/ldns-keyfetcher.c
+++ b/examples/ldns-keyfetcher.c
@@ -669,7 +669,7 @@ main(int argc, char *argv[])
outputfile_buffer = ldns_buffer_new(300);
domain_str = ldns_rdf2str(ldns_rr_owner(k));
- ldns_buffer_printf(outputfile_buffer, "K%s+%03u.+%05u.key", domain_str, ldns_rdf2native_int8(ldns_rr_rdf(k, 2)), ldns_calc_keytag(k), 123);
+ ldns_buffer_printf(outputfile_buffer, "K%s+%03u+%05u.key", domain_str, ldns_rdf2native_int8(ldns_rr_rdf(k, 2)), ldns_calc_keytag(k));
outputfile_str = ldns_buffer_export(outputfile_buffer);
if (verbosity >= 1) {
@@ -686,6 +686,7 @@ main(int argc, char *argv[])
LDNS_FREE(domain_str);
LDNS_FREE(outputfile_str);
+ LDNS_FREE(outputfile_buffer);
}
} else {
ldns_rr_list_print(stdout, l);
diff --git a/host2str.c b/host2str.c
index 77a06685..c44b44f6 100644
--- a/host2str.c
+++ b/host2str.c
@@ -1464,10 +1464,10 @@ ldns_resolver_print(FILE *output, const ldns_resolver *r)
switch ((int)rtt[i]) {
case LDNS_RESOLV_RTT_MIN:
- fprintf(output, " - reacheable\n");
+ fprintf(output, " - reachable\n");
break;
case LDNS_RESOLV_RTT_INF:
- fprintf(output, " - unreacheable\n");
+ fprintf(output, " - unreachable\n");
break;
}
}
diff --git a/net.c b/net.c
index 071c3bad..b003a489 100644
--- a/net.c
+++ b/net.c
@@ -86,7 +86,7 @@ ldns_send_buffer(ldns_pkt **result, ldns_resolver *r, const ldns_buffer *qb, ldn
for (i = 0; i < ldns_resolver_nameserver_count(r); i++) {
if (rtt[i] == LDNS_RESOLV_RTT_INF) {
- /* not reacheable nameserver! */
+ /* not reachable nameserver! */
continue;
}
all_servers_rtt_inf = false;