From 8ca74c4eacf973f72f6bb25cacdf71036be3031a Mon Sep 17 00:00:00 2001 From: gbeauche <> Date: Wed, 26 Apr 2006 06:26:14 +0000 Subject: [PATCH] FAST_TIMO is 2 ms not 2 usec. Noticed on Windows but this obviously can't fix my problem with slirp_select_fill() there as it still doesn't fill in any socket descriptor. :-/ I think I won't bother much for Windows... --- BasiliskII/src/slirp/slirp.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/BasiliskII/src/slirp/slirp.c b/BasiliskII/src/slirp/slirp.c index f9de16a6..dc8a566a 100644 --- a/BasiliskII/src/slirp/slirp.c +++ b/BasiliskII/src/slirp/slirp.c @@ -333,8 +333,8 @@ int slirp_select_fill(int *pnfds, * Adjust the timeout to make the minimum timeout * 2ms (XXX?) to lessen the CPU load */ - if (timeout < FAST_TIMO) - timeout = FAST_TIMO; + if (timeout < (FAST_TIMO * 1000)) + timeout = FAST_TIMO * 1000; return timeout; }