chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c8da38b
)
sd-resolve: propagate timeouts in sd_resolve_wait() the same way as in sd_bus_wait...
author
Lennart Poettering
<lennart@poettering.net>
Mon, 27 Nov 2017 15:28:53 +0000
(16:28 +0100)
committer
Sven 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
patch
|
blob
|
history
diff --git
a/src/basic/io-util.c
b/src/basic/io-util.c
index cc6dfa8c1b94a29bcaf36cdb139be8dc09467178..2141634dabdba4d33e8b591264add569de230f9e 100644
(file)
--- 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;