Postpone dealing with upstream derenferencing issue

This commit is contained in:
Willem Toorop 2017-10-18 14:33:59 +02:00
parent eedd1a1448
commit 87879783ec
1 changed files with 3 additions and 2 deletions

View File

@ -1279,8 +1279,9 @@ void read_line_cb(void *userarg)
if (listen_count) if (listen_count)
(void) getdns_context_set_listen_addresses( (void) getdns_context_set_listen_addresses(
context, NULL, NULL, NULL); context, NULL, NULL, NULL);
(void) getdns_context_set_upstream_recursive_servers( if (interactive && !query_file)
context, NULL); (void) getdns_context_set_upstream_recursive_servers(
context, NULL);
return; return;
} }
if (query_file && verbosity) if (query_file && verbosity)