diff options
author | Lennart Poettering <lennart@poettering.net> | 2017-11-27 16:28:53 +0100 |
---|---|---|
committer | Sven Eden <yamakuzure@gmx.net> | 2017-11-27 16:28:53 +0100 |
commit | cffb9dfa119b3e156f914a402e65e42f80c8d409 (patch) | |
tree | 607a2687815b99f80f2bbb21f925ce0c7e9c475e /src | |
parent | c8da38bdce575d4b32b5428be072e722f8c4ba39 (diff) |
sd-resolve: propagate timeouts in sd_resolve_wait() the same way as in sd_bus_wait(): ETIMEDOUT
Thankfully this is an internal API still, so we can mkae changes like
this.
Diffstat (limited to 'src')
-rw-r--r-- | src/basic/io-util.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/basic/io-util.c b/src/basic/io-util.c index cc6dfa8c1..2141634da 100644 --- a/src/basic/io-util.c +++ b/src/basic/io-util.c @@ -199,7 +199,6 @@ int fd_wait_for_event(int fd, int event, usec_t t) { r = ppoll(&pollfd, 1, t == USEC_INFINITY ? NULL : timespec_store(&ts, t), NULL); if (r < 0) return -errno; - if (r == 0) return 0; |