1
1
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:
Tom Gundersen 2014-12-29 01:50:07 +01:00
parent c7460cce79
commit f55dc7c96e

View File

@ -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