diff options
author | Lennart Poettering <lennart@poettering.net> | 2015-12-18 19:25:04 +0100 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2015-12-18 19:25:04 +0100 |
commit | ef9a3e3c28095e52f8ffe96acf3c70b2babfacb5 (patch) | |
tree | d61841811ee64d5d00f6361f6a9887a82f92eda6 /docs | |
parent | f5bdeb01e4c9f479aaa31cebfa6cfa85ae8a7336 (diff) |
resolve: optimize dns_cache_flush() a bit
Let's use dns_cache_remove() rather than
dns_cache_item_remove_and_free() to destroy the cache, since the former
requires far fewer hash table lookups.
Diffstat (limited to 'docs')
0 files changed, 0 insertions, 0 deletions