1
0
mirror of https://github.com/systemd/systemd.git synced 2024-11-07 09:56:51 +03:00

bus: fix error-path in bus_map_all_properties()

We shouldn't return positive integers on errors. Fix the typo by removing
the negation.
This commit is contained in:
David Herrmann 2013-11-20 16:18:37 +01:00
parent d7726e578a
commit 6c1508b871

View File

@ -919,7 +919,7 @@ int bus_map_all_properties(sd_bus *bus,
} else { } else {
r = sd_bus_message_skip(m, "v"); r = sd_bus_message_skip(m, "v");
if (r < 0) if (r < 0)
return -r; return r;
} }
r = sd_bus_message_exit_container(m); r = sd_bus_message_exit_container(m);