mirror of
https://github.com/systemd/systemd.git
synced 2024-11-01 00:51:24 +03:00
resolved: cast dns_scope_get_dns_server() to NULL when we ignore it
This commit is contained in:
parent
44db02d0ef
commit
5cdb8930e0
@ -1362,7 +1362,7 @@ static int dns_transaction_prepare(DnsTransaction *t, usec_t ts) {
|
||||
/* Before trying the cache, let's make sure we figured out a
|
||||
* server to use. Should this cause a change of server this
|
||||
* might flush the cache. */
|
||||
dns_scope_get_dns_server(t->scope);
|
||||
(void) dns_scope_get_dns_server(t->scope);
|
||||
|
||||
/* Let's then prune all outdated entries */
|
||||
dns_cache_prune(&t->scope->cache);
|
||||
|
Loading…
Reference in New Issue
Block a user