diff options
author | Lennart Poettering <lennart@poettering.net> | 2015-12-10 11:10:30 +0100 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2015-12-10 11:10:30 +0100 |
commit | 59c74f21751c5af2e6e5118a8d09c16e0e1efa0f (patch) | |
tree | c29a757622be6f17b34c222af783916e75e697b1 /src/resolve/resolved-mdns.c | |
parent | 2b48c44bc45d37d2387d5461108d12479193f574 (diff) | |
parent | 261f3673c197ff7e52722c212ae63baf853b6896 (diff) |
Merge pull request #2128 from zonque/resolved-mdns-2
resolved: more mDNS specific bits (2)
Diffstat (limited to 'src/resolve/resolved-mdns.c')
-rw-r--r-- | src/resolve/resolved-mdns.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/resolve/resolved-mdns.c b/src/resolve/resolved-mdns.c index 096a4b1fe5..abe63d58c1 100644 --- a/src/resolve/resolved-mdns.c +++ b/src/resolve/resolved-mdns.c @@ -275,10 +275,8 @@ int manager_mdns_ipv6_fd(Manager *m) { } r = sd_event_add_io(m->event, &m->mdns_ipv6_event_source, m->mdns_ipv6_fd, EPOLLIN, on_mdns_packet, m); - if (r < 0) { - r = -errno; + if (r < 0) goto fail; - } return m->mdns_ipv6_fd; |