aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorYang Tse <yangsita@gmail.com>2012-12-26 19:30:22 +0100
committerYang Tse <yangsita@gmail.com>2012-12-26 19:30:22 +0100
commit77b5c0b2cfc800ce89af3ecce6d2304c4c8431f3 (patch)
tree4ac4928aefc6ee12cbee7853340a0a0df5dec2ad /tests
parentb44da5a82a9829915c9294bf9ab73c8f647f8c86 (diff)
sockfilt.c: commit b44da5a82a follow-up
Diffstat (limited to 'tests')
-rw-r--r--tests/server/sockfilt.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/server/sockfilt.c b/tests/server/sockfilt.c
index a26ec40c1..c5a0b379f 100644
--- a/tests/server/sockfilt.c
+++ b/tests/server/sockfilt.c
@@ -432,7 +432,7 @@ static int select_ws(int nfds, fd_set *readfds, fd_set *writefds,
}
if(!nfds) {
- Sleep(1000*tv->tv_sec + tv->tv_usec/1000);
+ Sleep(1000*timeout->tv_sec + timeout->tv_usec/1000);
return 0;
}