diff options
author | Michal Schmidt <mschmidt@redhat.com> | 2014-10-14 18:27:55 +0200 |
---|---|---|
committer | Michal Schmidt <mschmidt@redhat.com> | 2014-10-23 17:38:02 +0200 |
commit | c9fe4af70d2c884c1f95714a81ad6d1de31d5186 (patch) | |
tree | 0c690f38ba2c23372b45c54e77db51b78807ac07 /src/libsystemd/sd-bus/bus-internal.h | |
parent | c1f906bd91c388fd84a006a56e1e6692e23f8ae3 (diff) |
sd-bus: make sd_bus::reply_callbacks a OrderedHashmap
The way process_closing() picks the first entry from reply_callbacks
and works with it makes it likely that it cares about the order.
Diffstat (limited to 'src/libsystemd/sd-bus/bus-internal.h')
-rw-r--r-- | src/libsystemd/sd-bus/bus-internal.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libsystemd/sd-bus/bus-internal.h b/src/libsystemd/sd-bus/bus-internal.h index 601ea5afb1..57247d7df9 100644 --- a/src/libsystemd/sd-bus/bus-internal.h +++ b/src/libsystemd/sd-bus/bus-internal.h @@ -230,7 +230,7 @@ struct sd_bus { struct bus_match_node match_callbacks; Prioq *reply_callbacks_prioq; - Hashmap *reply_callbacks; + OrderedHashmap *reply_callbacks; LIST_HEAD(struct filter_callback, filter_callbacks); Hashmap *nodes; |