Replace default append_name setting

to GETDNS_APPEND_NAME_ONLY_TO_SINGLE_LABEL_AFTER_FAILURE
This commit is contained in:
Willem Toorop 2016-03-09 10:37:05 +01:00
parent aeeadde299
commit 70cc65f786
1 changed files with 1 additions and 1 deletions

View File

@ -1117,7 +1117,7 @@ getdns_context_create_with_extended_memory_functions(
result->follow_redirects = GETDNS_REDIRECTS_FOLLOW; result->follow_redirects = GETDNS_REDIRECTS_FOLLOW;
result->dns_root_servers = NULL; result->dns_root_servers = NULL;
result->root_servers_fn[0] = 0; result->root_servers_fn[0] = 0;
result->append_name = GETDNS_APPEND_NAME_ALWAYS; result->append_name = GETDNS_APPEND_NAME_ONLY_TO_SINGLE_LABEL_AFTER_FAILURE;
result->suffixes = no_suffixes; result->suffixes = no_suffixes;
result->suffixes_len = sizeof(no_suffixes); result->suffixes_len = sizeof(no_suffixes);