From cffb9dfa119b3e156f914a402e65e42f80c8d409 Mon Sep 17 00:00:00 2001 From: Lennart Poettering Date: Mon, 27 Nov 2017 16:28:53 +0100 Subject: 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. --- src/basic/io-util.c | 1 - 1 file changed, 1 deletion(-) (limited to 'src/basic/io-util.c') 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; -- cgit v1.2.3