diff --git a/spec/example/example-reverse.c b/spec/example/example-reverse.c index 4b92040d..3a5e938a 100644 --- a/spec/example/example-reverse.c +++ b/spec/example/example-reverse.c @@ -31,7 +31,7 @@ void callback(getdns_context *context, assert( callback_type == GETDNS_CALLBACK_COMPLETE ); if ((r = getdns_dict_get_list(response, "/replies_tree/0/answer", &answer))) - fprintf(stderr, "Could not get \"answer\" section from first reply in the reponse"); + fprintf(stderr, "Could not get \"answer\" section from first reply in the response"); else if ((r = getdns_list_get_length(answer, &n_answers))) fprintf(stderr, "Could not get replies_tree\'s length"); diff --git a/spec/example/example-simple-answers.c b/spec/example/example-simple-answers.c index a861e0f6..2203ce3b 100644 --- a/spec/example/example-simple-answers.c +++ b/spec/example/example-simple-answers.c @@ -35,7 +35,7 @@ void callback(getdns_context *context, assert( callback_type == GETDNS_CALLBACK_COMPLETE ); if ((r = getdns_dict_get_int(response, "status", &status))) - fprintf(stderr, "Could not get \"status\" from reponse"); + fprintf(stderr, "Could not get \"status\" from response"); else if (status != GETDNS_RESPSTATUS_GOOD) fprintf(stderr, "The search had no results, and a return value of %"PRIu32".\n", status); diff --git a/spec/example/example-tree.c b/spec/example/example-tree.c index f88299bb..8536aea9 100644 --- a/spec/example/example-tree.c +++ b/spec/example/example-tree.c @@ -31,7 +31,7 @@ void callback(getdns_context *context, assert( callback_type == GETDNS_CALLBACK_COMPLETE ); if ((r = getdns_dict_get_list(response, "replies_tree", &replies_tree))) - fprintf(stderr, "Could not get \"replies_tree\" from reponse"); + fprintf(stderr, "Could not get \"replies_tree\" from response"); else if ((r = getdns_list_get_length(replies_tree, &n_replies))) fprintf(stderr, "Could not get replies_tree\'s length"); diff --git a/spec/index.html b/spec/index.html index 6888489f..d2623e4c 100644 --- a/spec/index.html +++ b/spec/index.html @@ -173,7 +173,7 @@ extensions. See the section below for information on h the extensions used for a request.
*userarg
A void* that is passed to the function, which the funciton +
A void* that is passed to the function, which the function
returns to the callback function untouched. userarg
can be used by the callback
function for any user-specific data needed. This can be NULL.
main()
.assert( callback_type == GETDNS_CALLBACK_COMPLETE );
if ((r = getdns_dict_get_list(response, "/replies_tree/0/answer", &answer)))
- fprintf(stderr, "Could not get \"answer\" section from first reply in the reponse");
+ fprintf(stderr, "Could not get \"answer\" section from first reply in the response");
else if ((r = getdns_list_get_length(answer, &n_answers)))
fprintf(stderr, "Could not get replies_tree\'s length");