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:19:58 +01:00
parent d7726e578a
commit 6c1508b871
+1 -1
View File
@@ -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);