mirror of
https://github.com/systemd/systemd-stable.git
synced 2024-12-25 23:21:33 +03:00
sd-rtnl: rtnl_poll - fix typo
This caused rtnl_poll to always return true immediately in sd_rtnl_call().
This commit is contained in:
parent
c7460cce79
commit
f55dc7c96e
@ -489,7 +489,7 @@ static int rtnl_poll(sd_rtnl *rtnl, bool need_more, uint64_t timeout_usec) {
|
||||
if (need_more)
|
||||
/* Caller wants more data, and doesn't care about
|
||||
* what's been read or any other timeouts. */
|
||||
return e |= POLLIN;
|
||||
e |= POLLIN;
|
||||
else {
|
||||
usec_t until;
|
||||
/* Caller wants to process if there is something to
|
||||
|
Loading…
Reference in New Issue
Block a user