Merge branch 'devel/robustness' of https://github.com/getdnsapi/getdns into devel/robustness_bugfix

This commit is contained in:
Sara Dickinson 2017-10-19 10:37:08 +01:00
commit ddade192a3
1 changed files with 3 additions and 2 deletions

View File

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