b/f: xmlrpc2di: fix poll/busyloop with keep-alive

sayer/1.4-spce2.6
Stefan Sayer 15 years ago
parent 846ee6eaa2
commit 695629cba1

@ -194,7 +194,7 @@ XmlRpcDispatch::waitForAndProcessEvents(double timeout)
// Check for events
int nEvents;
if (_endTime < 0.0)
nEvents = poll(fds,_sources.size(), NULL);
nEvents = poll(fds,_sources.size(), -1);
else
{
int to_ms = (int)floor(1000.0 * timeout);

Loading…
Cancel
Save