diff options
author | Nick Mathewson <nickm@torproject.org> | 2011-12-06 19:49:20 -0500 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2011-12-06 19:49:20 -0500 |
commit | 616b60cef39f78d8a6ebb984096ff0ec09a3021c (patch) | |
tree | 67a55d954df61d3dfd370866d242cbf19fd44859 /src/common/compat_libevent.c | |
parent | 53f535aeb863204470379b2da4631770fa10b13f (diff) | |
download | tor-616b60cef39f78d8a6ebb984096ff0ec09a3021c.tar.gz tor-616b60cef39f78d8a6ebb984096ff0ec09a3021c.zip |
Revert "Use callback-driven approach to block renegotiations."
This reverts commit 406ae1ba5ad529a4d0e710229dab6ed645d42b50.
Diffstat (limited to 'src/common/compat_libevent.c')
-rw-r--r-- | src/common/compat_libevent.c | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/src/common/compat_libevent.c b/src/common/compat_libevent.c index fcc119373a..7a28c9bc9b 100644 --- a/src/common/compat_libevent.c +++ b/src/common/compat_libevent.c @@ -559,15 +559,6 @@ tor_check_libevent_header_compatibility(void) #endif } -/** Wrapper around libevent's event_base_once(). Sets a - * timeout-triggered event with no associated file descriptor. */ -int -tor_event_base_once(void (*cb)(evutil_socket_t, short, void *), - void *arg, struct timeval *timer) -{ - return event_base_once(tor_libevent_get_base(), -1, EV_TIMEOUT, cb, arg, timer); -} - /* If possible, we're going to try to use Libevent's periodic timer support, since it does a pretty good job of making sure that periodic events get |