diff --git a/ChangeLog b/ChangeLog index 1299763c..5a8b7140 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,4 +1,5 @@ * 2017-04-??: Version 1.1.0 + * Spelling fixes. Thanks Andreas Schulze. * bugfix: Reschedule request timeout when getting the DNSSEC chain. * getdns_context_unset_edns_maximum_udp_payload_size() to reset to default IPv4/IPv6 dependent edns max udp payload size. @@ -176,7 +177,7 @@ '-1' to append suffix only to single label after failure '-M' to append suffix only to multi label name after failure '-N' to never append a suffix - '-Z ' to set suffixes with the given comma separed list + '-Z ' to set suffixes with the given comma separated list * Better help text for getdns_query (printed with the '-h' option) * Setting the +specify_class extension with getdns_query * Return NOT_IMPLEMENTED for not implemented namespaces, and the diff --git a/doc/getdns_address.3.in b/doc/getdns_address.3.in index 122f2392..561518d9 100644 --- a/doc/getdns_address.3.in +++ b/doc/getdns_address.3.in @@ -33,7 +33,7 @@ -- get ip address(es) for a name .SH LIBRARY -DNS Resolver library (libgetdns, -lgetdns) +DNS Resolver library (libgetdns, \-lgetdns) .SH SYNOPSIS #include diff --git a/doc/getdns_cancel_callback.3.in b/doc/getdns_cancel_callback.3.in index 012bd3ef..297e3053 100644 --- a/doc/getdns_cancel_callback.3.in +++ b/doc/getdns_cancel_callback.3.in @@ -32,7 +32,7 @@ -- cancel an outstanding asyn getdns request .SH LIBRARY -DNS Resolver library (libgetdns, -lgetdns) +DNS Resolver library (libgetdns, \-lgetdns) .SH SYNOPSIS #include diff --git a/doc/getdns_context.3.in b/doc/getdns_context.3.in index 71ed4b15..6fb089bb 100644 --- a/doc/getdns_context.3.in +++ b/doc/getdns_context.3.in @@ -39,7 +39,7 @@ .ad n .SH LIBRARY -DNS Resolver library (libgetdns, -lgetdns) +DNS Resolver library (libgetdns, \-lgetdns) .SH SYNOPSIS #include @@ -141,7 +141,7 @@ in use might have a requirements on this issue. You may need to provide one or two functions to allow it to function properly. For example before you call getdns_context_create() you may need to use the openssl functions CRYPTO_set_id_callback and CRYPTO_set_locking_callback to set up -asyncronous operation (the application calls these functions once for initialisation). +asynchronous operation (the application calls these functions once for initialisation). Openssl 1.0.0 or later uses the CRYPTO_THREADID_set_callback function. .HP 3 diff --git a/doc/getdns_context_set.3.in b/doc/getdns_context_set.3.in index 606a653d..b97bc243 100644 --- a/doc/getdns_context_set.3.in +++ b/doc/getdns_context_set.3.in @@ -45,7 +45,7 @@ .ad n .SH LIBRARY -DNS Resolver library (libgetdns, -lgetdns) +DNS Resolver library (libgetdns, \-lgetdns) .SH SYNOPSIS #include diff --git a/doc/getdns_context_set_context_update_callback.3.in b/doc/getdns_context_set_context_update_callback.3.in index d85b1b3e..d51b34ff 100644 --- a/doc/getdns_context_set_context_update_callback.3.in +++ b/doc/getdns_context_set_context_update_callback.3.in @@ -32,7 +32,7 @@ -- get informed on getdns context updates .SH LIBRARY -DNS Resolver library (libgetdns, -lgetdns) +DNS Resolver library (libgetdns, \-lgetdns) .SH SYNOPSIS #include diff --git a/doc/getdns_convert.3.in b/doc/getdns_convert.3.in index 25614585..fb8fca91 100644 --- a/doc/getdns_convert.3.in +++ b/doc/getdns_convert.3.in @@ -34,7 +34,7 @@ -- convert dname between presentation- and wire-format .SH LIBRARY -DNS Resolver library (libgetdns, -lgetdns) +DNS Resolver library (libgetdns, \-lgetdns) .SH SYNOPSIS #include diff --git a/doc/getdns_dict.3.in b/doc/getdns_dict.3.in index d4d9b3b9..2ee2b45c 100644 --- a/doc/getdns_dict.3.in +++ b/doc/getdns_dict.3.in @@ -38,7 +38,7 @@ .ad n .SH LIBRARY -DNS Resolver library (libgetdns, -lgetdns) +DNS Resolver library (libgetdns, \-lgetdns) .SH SYNOPSIS #include diff --git a/doc/getdns_dict_get.3.in b/doc/getdns_dict_get.3.in index 956c0523..45c71870 100644 --- a/doc/getdns_dict_get.3.in +++ b/doc/getdns_dict_get.3.in @@ -38,7 +38,7 @@ -- get value by name from a getdns dict .SH LIBRARY -DNS Resolver library (libgetdns, -lgetdns) +DNS Resolver library (libgetdns, \-lgetdns) .SH SYNOPSIS #include diff --git a/doc/getdns_dict_set.3.in b/doc/getdns_dict_set.3.in index ee684090..f42e455a 100644 --- a/doc/getdns_dict_set.3.in +++ b/doc/getdns_dict_set.3.in @@ -36,7 +36,7 @@ -- set a value by name in a getdns dict .SH LIBRARY -DNS Resolver library (libgetdns, -lgetdns) +DNS Resolver library (libgetdns, \-lgetdns) .SH SYNOPSIS #include diff --git a/doc/getdns_display_ip_address.3.in b/doc/getdns_display_ip_address.3.in index a038f4e9..08ea7da1 100644 --- a/doc/getdns_display_ip_address.3.in +++ b/doc/getdns_display_ip_address.3.in @@ -32,7 +32,7 @@ -- convert an getdns ip address to string .SH LIBRARY -DNS Resolver library (libgetdns, -lgetdns) +DNS Resolver library (libgetdns, \-lgetdns) .SH SYNOPSIS #include diff --git a/doc/getdns_general.3.in b/doc/getdns_general.3.in index 9b983d0d..27b25574 100644 --- a/doc/getdns_general.3.in +++ b/doc/getdns_general.3.in @@ -33,7 +33,7 @@ -- do a getdns DNS lookup .SH LIBRARY -DNS Resolver library (libgetdns, -lgetdns) +DNS Resolver library (libgetdns, \-lgetdns) .SH SYNOPSIS #include diff --git a/doc/getdns_hostname.3.in b/doc/getdns_hostname.3.in index e45c3620..25f53b39 100644 --- a/doc/getdns_hostname.3.in +++ b/doc/getdns_hostname.3.in @@ -33,7 +33,7 @@ -- get hostname by address .SH LIBRARY -DNS Resolver library (libgetdns, -lgetdns) +DNS Resolver library (libgetdns, \-lgetdns) .SH SYNOPSIS #include diff --git a/doc/getdns_list.3.in b/doc/getdns_list.3.in index 2bbd8f3c..47a17272 100644 --- a/doc/getdns_list.3.in +++ b/doc/getdns_list.3.in @@ -38,7 +38,7 @@ .ad n .SH LIBRARY -DNS Resolver library (libgetdns, -lgetdns) +DNS Resolver library (libgetdns, \-lgetdns) .SH SYNOPSIS #include diff --git a/doc/getdns_list_get.3.in b/doc/getdns_list_get.3.in index 1749ef08..d58d6851 100644 --- a/doc/getdns_list_get.3.in +++ b/doc/getdns_list_get.3.in @@ -38,7 +38,7 @@ -- get a value by index from a getdns list .SH LIBRARY -DNS Resolver library (libgetdns, -lgetdns) +DNS Resolver library (libgetdns, \-lgetdns) .SH SYNOPSIS #include diff --git a/doc/getdns_list_set.3.in b/doc/getdns_list_set.3.in index 301bb882..cbba6959 100644 --- a/doc/getdns_list_set.3.in +++ b/doc/getdns_list_set.3.in @@ -36,7 +36,7 @@ -- set a value by index from a getdns list .SH LIBRARY -DNS Resolver library (libgetdns, -lgetdns) +DNS Resolver library (libgetdns, \-lgetdns) .SH SYNOPSIS #include diff --git a/doc/getdns_pretty_print_dict.3.in b/doc/getdns_pretty_print_dict.3.in index 7ab966e3..e3e9f73e 100644 --- a/doc/getdns_pretty_print_dict.3.in +++ b/doc/getdns_pretty_print_dict.3.in @@ -32,7 +32,7 @@ -- return a string representation of a getdns dict .SH LIBRARY -DNS Resolver library (libgetdns, -lgetdns) +DNS Resolver library (libgetdns, \-lgetdns) .SH SYNOPSIS #include diff --git a/doc/getdns_root_trust_anchor.3.in b/doc/getdns_root_trust_anchor.3.in index 401cd297..3d16b238 100644 --- a/doc/getdns_root_trust_anchor.3.in +++ b/doc/getdns_root_trust_anchor.3.in @@ -32,7 +32,7 @@ -- return the getdns list of default root trust anchors .SH LIBRARY -DNS Resolver library (libgetdns, -lgetdns) +DNS Resolver library (libgetdns, \-lgetdns) .SH SYNOPSIS #include diff --git a/doc/getdns_service.3.in b/doc/getdns_service.3.in index 35f40579..ab03c880 100644 --- a/doc/getdns_service.3.in +++ b/doc/getdns_service.3.in @@ -33,7 +33,7 @@ -- getdns lookup of a service .SH LIBRARY -DNS Resolver library (libgetdns, -lgetdns) +DNS Resolver library (libgetdns, \-lgetdns) .SH SYNOPSIS #include diff --git a/doc/getdns_validate_dnssec.3.in b/doc/getdns_validate_dnssec.3.in index bce70b85..a97ca72e 100644 --- a/doc/getdns_validate_dnssec.3.in +++ b/doc/getdns_validate_dnssec.3.in @@ -32,7 +32,7 @@ -- DNSSEC validate a given getdns record .SH LIBRARY -DNS Resolver library (libgetdns, -lgetdns) +DNS Resolver library (libgetdns, \-lgetdns) .SH SYNOPSIS #include diff --git a/doc/libgetdns.3.in b/doc/libgetdns.3.in index 0c4d2ece..791ed384 100644 --- a/doc/libgetdns.3.in +++ b/doc/libgetdns.3.in @@ -32,7 +32,7 @@ libgetdns -- an implementation of a modern asynchronous DNS API by and for application developers .SH LIBRARY -DNS Resolver library (libgetdns, -lgetdns) +DNS Resolver library (libgetdns, \-lgetdns) .SH SYNOPSIS .B libgetdns @@ -230,7 +230,7 @@ Set to GETDNS_EXTENSION_TRUE to include the DNSSEC status for each DNS record in .HP 3 "dnssec_return_only_secure" (int) -Set to GETDNS_EXTENSION_TRUE to cause only records that the API can validate as secure withe DNSSEC to be returned in the +Set to GETDNS_EXTENSION_TRUE to cause only records that the API can validate as secure with DNSSEC to be returned in the .I replies_tree and .I replies_full lists diff --git a/src/stub.c b/src/stub.c index 3597cb88..2fa121f1 100644 --- a/src/stub.c +++ b/src/stub.c @@ -750,7 +750,7 @@ stub_tcp_read(int fd, getdns_tcp_state *tcp, struct mem_funcs *mf) /* stub_tcp_write(fd, tcp, netreq) * will return STUB_TCP_AGAIN when we need to come back again, - * STUB_TCP_ERROR on error and a query_id on successfull sent. + * STUB_TCP_ERROR on error and a query_id on successful sent. */ static int stub_tcp_write(int fd, getdns_tcp_state *tcp, getdns_network_req *netreq) diff --git a/src/test/tests_transports.sh b/src/test/tests_transports.sh index 0cb0947b..89604038 100755 --- a/src/test/tests_transports.sh +++ b/src/test/tests_transports.sh @@ -10,7 +10,7 @@ TLS_SERVER_KEY="foxZRnIh9gZpWnl+zEiKa0EJ2rdCGroMWm02gaxSc9S=" TLS_SERVER_SS_KEY="pOXrpUt9kgPgbWxBFFcBTbRH2heo2wHwXp1fd4AEVXI=" TLS_SERVER_WRONG_KEY="foxZRnIh9gZpWnl+zEiKa0EJ2rdCGroMWm02gaxSc1S=" GOOD_RESULT_SYNC="Status was: At least one response was returned" -GOOD_RESULT_ASYNC="successfull" +GOOD_RESULT_ASYNC="successful" BAD_RESULT_SYNC="1 'Generic error'" BAD_RESULT_ASYNC="callback_type of 703" NUM_ARGS=3 @@ -196,4 +196,4 @@ done echo echo "Finished transport test: did $COUNT queries, $GOOD_COUNT passes, $FAIL_COUNT failures" -echo \ No newline at end of file +echo diff --git a/src/tools/getdns_query.c b/src/tools/getdns_query.c index 7dca01fe..72eb19b2 100644 --- a/src/tools/getdns_query.c +++ b/src/tools/getdns_query.c @@ -219,7 +219,7 @@ print_usage(FILE *out, const char *progname) } fprintf(out, "\t-D\tSet edns0 do bit\n"); fprintf(out, "\t-d\tclear edns0 do bit\n"); - fprintf(out, "\t-e \tSet idle timeout in miliseconds\n"); + fprintf(out, "\t-e \tSet idle timeout in milliseconds\n"); if (!i_am_stubby) fprintf(out, "\t-F \tread the queries from the specified file\n"); fprintf(out, "\t-f \tRead DNSSEC trust anchors from \n"); @@ -253,7 +253,7 @@ print_usage(FILE *out, const char *progname) , i_am_stubby ? "" : "(default = recursing)" ); if (!i_am_stubby) fprintf(out, "\t-S\tservice lookup ( is ignored)\n"); - fprintf(out, "\t-t \tSet timeout in miliseconds\n"); + fprintf(out, "\t-t \tSet timeout in milliseconds\n"); fprintf(out, "\t-v\tPrint getdns release version\n"); fprintf(out, "\t-x\tDo not follow redirects\n"); fprintf(out, "\t-X\tFollow redirects (default)\n"); @@ -263,7 +263,7 @@ print_usage(FILE *out, const char *progname) fprintf(out, "\t-1\tAppend suffix only to single label after failure\n"); fprintf(out, "\t-M\tAppend suffix only to multi label name after failure\n"); fprintf(out, "\t-N\tNever append a suffix\n"); - fprintf(out, "\t-Z \tSet suffixes with the given comma separed list\n"); + fprintf(out, "\t-Z \tSet suffixes with the given comma separated list\n"); fprintf(out, "\t-T\tSet transport to TCP only\n"); fprintf(out, "\t-O\tSet transport to TCP only keep connections open\n"); @@ -384,7 +384,7 @@ void callback(getdns_context *context, getdns_callback_type_t callback_type, } if (callback_type == GETDNS_CALLBACK_COMPLETE) { - printf("Response code was: GOOD. Status was: Callback with ID %"PRIu64" was successfull.\n", + printf("Response code was: GOOD. Status was: Callback with ID %"PRIu64" was successful.\n", trans_id); } else if (callback_type == GETDNS_CALLBACK_CANCEL) diff --git a/src/types-internal.h b/src/types-internal.h index e70d8911..22cf649a 100644 --- a/src/types-internal.h +++ b/src/types-internal.h @@ -345,7 +345,7 @@ typedef struct getdns_dns_req { /* the transaction id */ getdns_transaction_t trans_id; - /* Absolute time (in miliseconds since epoch), + /* Absolute time (in milliseconds since epoch), * after which this dns request is expired; i.e. timed out */ uint64_t expires;