diff options
author | Michal Schmidt <mschmidt@redhat.com> | 2014-08-22 13:56:51 +0200 |
---|---|---|
committer | Michal Schmidt <mschmidt@redhat.com> | 2014-10-23 17:38:02 +0200 |
commit | 1e43061b67336052b5b231840a38508a5397a363 (patch) | |
tree | 0e9ad3a74c5e1765f68c5348e2ec4e85159b6ce5 /src/resolve/resolved-dns-scope.h | |
parent | c9fe4af70d2c884c1f95714a81ad6d1de31d5186 (diff) |
resolve: make DnsScope::conflict_queue an OrderedHashmap
on_conflict_dispatch() uses hashmap_steal_first() and then does
something non-trivial with it. It may care about the order.
Diffstat (limited to 'src/resolve/resolved-dns-scope.h')
-rw-r--r-- | src/resolve/resolved-dns-scope.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/resolve/resolved-dns-scope.h b/src/resolve/resolved-dns-scope.h index a02230999b..f05648e5a5 100644 --- a/src/resolve/resolved-dns-scope.h +++ b/src/resolve/resolved-dns-scope.h @@ -55,7 +55,7 @@ struct DnsScope { DnsCache cache; DnsZone zone; - Hashmap *conflict_queue; + OrderedHashmap *conflict_queue; sd_event_source *conflict_event_source; RateLimit ratelimit; |