summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2019-10-24 15:24:00 +0200
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2019-10-25 16:37:22 +0200
commitb2c1554625b5f6efe80b93f5b7f3262a2e5b3343 (patch)
tree120a9bd841407629d0d52a7e39b45571852c5798
parent0a6c0745681f544508177f9abb93f9d637b2d002 (diff)
downloadsystemd-b2c1554625b5f6efe80b93f5b7f3262a2e5b3343.tar.gz
resolved: one less {}
-rw-r--r--src/resolve/resolved-bus.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/resolve/resolved-bus.c b/src/resolve/resolved-bus.c
index 920cb92a58..6179bd8f99 100644
--- a/src/resolve/resolved-bus.c
+++ b/src/resolve/resolved-bus.c
@@ -1274,13 +1274,12 @@ static int bus_property_get_dns_servers(
return r;
}
- HASHMAP_FOREACH(l, m->links, i) {
+ HASHMAP_FOREACH(l, m->links, i)
LIST_FOREACH(servers, s, l->dns_servers) {
r = bus_dns_server_append(reply, s, true);
if (r < 0)
return r;
}
- }
return sd_bus_message_close_container(reply);
}