mirror of https://github.com/getdnsapi/getdns.git
Fix non existant domain names
This commit is contained in:
parent
9a3b01ed62
commit
bb0ad001e7
|
@ -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()");
|
||||||
|
|
||||||
|
|
|
@ -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);
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue