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-llmnr.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-llmnr.c')
-rw-r--r-- | src/resolve/resolved-llmnr.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/resolve/resolved-llmnr.c b/src/resolve/resolved-llmnr.c index 6a7ff9d245..ed754c3899 100644 --- a/src/resolve/resolved-llmnr.c +++ b/src/resolve/resolved-llmnr.c @@ -461,10 +461,8 @@ int manager_llmnr_ipv6_tcp_fd(Manager *m) { } r = sd_event_add_io(m->event, &m->llmnr_ipv6_tcp_event_source, m->llmnr_ipv6_tcp_fd, EPOLLIN, on_llmnr_stream, m); - if (r < 0) { - r = -errno; + if (r < 0) goto fail; - } return m->llmnr_ipv6_tcp_fd; |