mirror of
https://github.com/Icinga/icinga2.git
synced 2025-07-06 13:24:28 +02:00
parent
32e1c02b9a
commit
2ab208e452
@ -127,7 +127,10 @@ void Process::IOThreadProc(int tid)
|
||||
}
|
||||
}
|
||||
|
||||
int rc = poll(pfds, count, timeout * 1000);
|
||||
if (timeout != -1)
|
||||
timeout *= 1000;
|
||||
|
||||
int rc = poll(pfds, count, timeout);
|
||||
|
||||
if (rc < 0)
|
||||
continue;
|
||||
|
Loading…
x
Reference in New Issue
Block a user