diff options
author | Nick Mathewson <nickm@torproject.org> | 2007-11-25 21:53:06 +0000 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2007-11-25 21:53:06 +0000 |
commit | 1120f04f3eaafe98259ef286eecb648337b2214f (patch) | |
tree | 3bfb01d3eed147b7b0e4a39504d9b5b61c8cec6f /evrpc.c | |
parent | cbf9cfdf4507651ba39489158b17cf11703bb43d (diff) | |
download | libevent-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.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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; |