chiark / gitweb /
sd-resolve: propagate timeouts in sd_resolve_wait() the same way as in sd_bus_wait...
authorLennart Poettering <lennart@poettering.net>
Mon, 27 Nov 2017 15:28:53 +0000 (16:28 +0100)
committerSven Eden <yamakuzure@gmx.net>
Mon, 27 Nov 2017 15:28:53 +0000 (16:28 +0100)
Thankfully this is an internal API still, so we can mkae changes like
this.

src/basic/io-util.c

index cc6dfa8c1b94a29bcaf36cdb139be8dc09467178..2141634dabdba4d33e8b591264add569de230f9e 100644 (file)
@@ -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;