bus: properly generate GetAll reply
authorLennart Poettering <lennart@poettering.net>
Fri, 11 Oct 2013 21:19:40 +0000 (23:19 +0200)
committerLennart Poettering <lennart@poettering.net>
Fri, 11 Oct 2013 21:19:40 +0000 (23:19 +0200)
src/libsystemd-bus/bus-objects.c

index 8302092f92e67fc783f3339c490e962cb06e8a55..c306c54df67795290069c7aea9c3a47992dc416c 100644 (file)
@@ -499,7 +499,7 @@ static int vtable_append_all_properties(
                 if (r < 0)
                         return r;
 
-                r = sd_bus_message_append(reply, "s", c->interface);
+                r = sd_bus_message_append(reply, "s", v->x.property.member);
                 if (r < 0)
                         return r;