aboutsummaryrefslogtreecommitdiff
path: root/src/common/fakepoll.c
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2003-08-14 17:51:36 +0000
committerNick Mathewson <nickm@torproject.org>2003-08-14 17:51:36 +0000
commit1777487f4ea898f6919334f8a8cbdba7724f2abd (patch)
treecaf5727bf91d810255b323aeea8a86a1515960ee /src/common/fakepoll.c
parentadbc0577728dbf09d5c35efb2c36c0cc11fc5f59 (diff)
downloadtor-1777487f4ea898f6919334f8a8cbdba7724f2abd.tar.gz
tor-1777487f4ea898f6919334f8a8cbdba7724f2abd.zip
Tor now builds on win32.
svn:r400
Diffstat (limited to 'src/common/fakepoll.c')
-rw-r--r--src/common/fakepoll.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/common/fakepoll.c b/src/common/fakepoll.c
index 17bd18d401..27804ba0e0 100644
--- a/src/common/fakepoll.c
+++ b/src/common/fakepoll.c
@@ -66,7 +66,7 @@ poll(struct pollfd *ufds, unsigned int nfds, int timeout)
}
#ifdef MS_WINDOWS
if (!any_fds_set) {
- usleep(timeout);
+ Sleep(timeout);
return 0;
}
#endif