mirror of
https://github.com/Icinga/icinga2.git
synced 2025-07-05 21:04: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)
|
if (rc < 0)
|
||||||
continue;
|
continue;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user