summaryrefslogtreecommitdiff
path: root/src/network
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2015-07-08 17:24:20 -0300
committerLennart Poettering <lennart@poettering.net>2015-07-08 17:24:20 -0300
commit593b07d25d31132ce2fc673bb607a17084e1afd6 (patch)
tree7f475c589e0ce71882e63478b0e1e63190608931 /src/network
parent1434eb3838581f8ee1cef1f15ce9bcd45398183c (diff)
parent0f8261015380be71f8a63c8aa37926c2a32d1870 (diff)
Merge pull request #516 from utezduyar/consistent-get-callback-return
property callback returns are consistent
Diffstat (limited to 'src/network')
-rw-r--r--src/network/networkd-network-bus.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/src/network/networkd-network-bus.c b/src/network/networkd-network-bus.c
index b5f8f5cfb2..5717a15327 100644
--- a/src/network/networkd-network-bus.c
+++ b/src/network/networkd-network-bus.c
@@ -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[] = {