diff options
author | David Herrmann <dh.herrmann@gmail.com> | 2013-11-20 16:18:37 +0100 |
---|---|---|
committer | David Herrmann <dh.herrmann@gmail.com> | 2013-11-20 16:19:58 +0100 |
commit | 6c1508b871965b2eba46d477e81a9c4e85b2bd00 (patch) | |
tree | 7a776a129c233cdd7d9efef2af7aeab640cf2d42 /src/libsystemd-bus/bus-util.c | |
parent | d7726e578a1e4218c769d436c1a23174d1aed92d (diff) |
bus: fix error-path in bus_map_all_properties()
We shouldn't return positive integers on errors. Fix the typo by removing
the negation.
Diffstat (limited to 'src/libsystemd-bus/bus-util.c')
-rw-r--r-- | src/libsystemd-bus/bus-util.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libsystemd-bus/bus-util.c b/src/libsystemd-bus/bus-util.c index 33bdf38171..ed6fdc473a 100644 --- a/src/libsystemd-bus/bus-util.c +++ b/src/libsystemd-bus/bus-util.c @@ -919,7 +919,7 @@ int bus_map_all_properties(sd_bus *bus, } else { r = sd_bus_message_skip(m, "v"); if (r < 0) - return -r; + return r; } r = sd_bus_message_exit_container(m); |