Merge pull request #516 from utezduyar/consistent-get-callback-return

property callback returns are consistent
This commit is contained in:
Lennart Poettering
2015-07-08 17:24:20 -03:00
3 changed files with 4 additions and 20 deletions
+1 -5
View File
@@ -53,11 +53,7 @@ static int property_get_ether_addrs(
return r;
}
r = sd_bus_message_close_container(reply);
if (r < 0)
return r;
return 1;
return sd_bus_message_close_container(reply);
}
const sd_bus_vtable network_vtable[] = {