sockfilt.c: commit b44da5a82a follow-up
authorYang Tse <yangsita@gmail.com>
Wed, 26 Dec 2012 18:30:22 +0000 (19:30 +0100)
committerYang Tse <yangsita@gmail.com>
Wed, 26 Dec 2012 18:30:22 +0000 (19:30 +0100)
tests/server/sockfilt.c

index a26ec40..c5a0b37 100644 (file)
@@ -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;
   }