summaryrefslogtreecommitdiff
path: root/evrpc.c
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2007-11-25 21:53:06 +0000
committerNick Mathewson <nickm@torproject.org>2007-11-25 21:53:06 +0000
commit1120f04f3eaafe98259ef286eecb648337b2214f (patch)
tree3bfb01d3eed147b7b0e4a39504d9b5b61c8cec6f /evrpc.c
parentcbf9cfdf4507651ba39489158b17cf11703bb43d (diff)
downloadlibevent-1120f04f3eaafe98259ef286eecb648337b2214f.tar.gz
r16731@catbus: nickm | 2007-11-25 16:52:53 -0500
Replace all fds on non-unix-specific APIs with evutil_socket_t, which is int on unix and intptr_t on win32. svn:r552
Diffstat (limited to 'evrpc.c')
-rw-r--r--evrpc.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/evrpc.c b/evrpc.c
index 7945c745..670f3c0e 100644
--- a/evrpc.c
+++ b/evrpc.c
@@ -479,7 +479,7 @@ evrpc_pool_set_timeout(struct evrpc_pool *pool, int timeout_in_secs)
static void evrpc_reply_done(struct evhttp_request *, void *);
-static void evrpc_request_timeout(int, short, void *);
+static void evrpc_request_timeout(evutil_socket_t, short, void *);
/*
* Finds a connection object associated with the pool that is currently
@@ -643,7 +643,7 @@ evrpc_pool_schedule(struct evrpc_pool *pool)
}
static void
-evrpc_request_timeout(int fd, short what, void *arg)
+evrpc_request_timeout(evutil_socket_t fd, short what, void *arg)
{
struct evrpc_request_wrapper *ctx = arg;
struct evhttp_connection *evcon = ctx->evcon;