summaryrefslogtreecommitdiff
path: root/src/libsystemd/sd-bus/bus-util.c
diff options
context:
space:
mode:
authorDavid Herrmann <dh.herrmann@gmail.com>2014-08-28 15:24:00 +0200
committerDavid Herrmann <dh.herrmann@gmail.com>2014-08-28 15:25:51 +0200
commit427c71629ea375e4ca1841a55902b40de21f2ab4 (patch)
tree58207768ddbe4d0dbdbb5ec5feb33e3cfa0f83d0 /src/libsystemd/sd-bus/bus-util.c
parentc168eb6785bacc2042687bf879259dfc27d5a523 (diff)
bus: don't skip interfaces in bus_message_map_properties_changed()
Skipping interfaces randomly without the caller specifying it is nasty. Avoid this and let the caller do that themselves.
Diffstat (limited to 'src/libsystemd/sd-bus/bus-util.c')
-rw-r--r--src/libsystemd/sd-bus/bus-util.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/libsystemd/sd-bus/bus-util.c b/src/libsystemd/sd-bus/bus-util.c
index aed3889b12..a85d36180e 100644
--- a/src/libsystemd/sd-bus/bus-util.c
+++ b/src/libsystemd/sd-bus/bus-util.c
@@ -1051,9 +1051,6 @@ int bus_message_map_properties_changed(sd_bus *bus,
assert(m);
assert(map);
- /* skip interface, but allow callers to do that themselves */
- sd_bus_message_skip(m, "s");
-
r = bus_message_map_all_properties(bus, m, map, userdata);
if (r < 0)
return r;