summaryrefslogtreecommitdiff
path: root/src/common/fakepoll.c
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2004-02-20 23:41:45 +0000
committerNick Mathewson <nickm@torproject.org>2004-02-20 23:41:45 +0000
commit67a273962a3485610fc8eeeb0a3f639d6df53478 (patch)
treeacd5259f870b6268eb8102d5135364d14566e670 /src/common/fakepoll.c
parentfd4dc9de39e5f86cfebdf73abd10a718231274fb (diff)
downloadtor-67a273962a3485610fc8eeeb0a3f639d6df53478.tar.gz
tor-67a273962a3485610fc8eeeb0a3f639d6df53478.zip
On OSX, decline to use the built-in select-baed poll wrapper, since it seems to sometimes not work.
svn:r1114
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 f9e044eaf1..4465b5101e 100644
--- a/src/common/fakepoll.c
+++ b/src/common/fakepoll.c
@@ -30,7 +30,7 @@
#include "util.h"
int
-poll(struct pollfd *ufds, unsigned int nfds, int timeout)
+tor_poll(struct pollfd *ufds, unsigned int nfds, int timeout)
{
int idx, maxfd, fd;
int r;