Fix non existant domain names

This commit is contained in:
Willem Toorop 2017-01-13 12:59:16 +01:00
parent 9a3b01ed62
commit bb0ad001e7
2 changed files with 2 additions and 2 deletions

View File

@ -224,7 +224,7 @@
EVENT_BASE_CREATE; EVENT_BASE_CREATE;
ASSERT_RC(getdns_address(context, "hostnamedoesntexist", NULL, ASSERT_RC(getdns_address(context, "hostnamedoesntexist.", NULL,
&fn_ref, &transaction_id, callbackfn), &fn_ref, &transaction_id, callbackfn),
GETDNS_RETURN_GOOD, "Return code from getdns_address()"); GETDNS_RETURN_GOOD, "Return code from getdns_address()");

View File

@ -124,7 +124,7 @@
*/ */
struct getdns_context *context = NULL; struct getdns_context *context = NULL;
struct getdns_dict *response = NULL; struct getdns_dict *response = NULL;
const char *name = "labelsizeofsixtythreecharacterscom"; const char *name = "labelsizeofsixtythreecharacterscom.";
CONTEXT_CREATE(TRUE); CONTEXT_CREATE(TRUE);