From 427c71629ea375e4ca1841a55902b40de21f2ab4 Mon Sep 17 00:00:00 2001 From: David Herrmann Date: Thu, 28 Aug 2014 15:24:00 +0200 Subject: 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. --- src/libsystemd/sd-bus/bus-util.c | 3 --- 1 file changed, 3 deletions(-) (limited to 'src/libsystemd/sd-bus/bus-util.c') 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; -- cgit v1.2.3-54-g00ecf