From: Nick Mathewson Date: Wed, 7 Jan 2009 21:13:02 +0000 (+0000) Subject: Make the last bunch of libevent version detection silliness work on macosx. X-Git-Tag: tor-0.2.1.11-alpha~37 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=a0a5440826fb6bcf70c9e69522dc629fe3f87a88;p=thirdparty%2Ftor.git Make the last bunch of libevent version detection silliness work on macosx. svn:r18015 --- diff --git a/src/or/config.c b/src/or/config.c index 02b9793737..53fc5fb0bc 100644 --- a/src/or/config.c +++ b/src/or/config.c @@ -4743,7 +4743,7 @@ init_libevent(void) */ suppress_libevent_log_msg("Function not implemented"); #ifdef __APPLE__ - if (decode_libevent_version(event_get_version()) < LE_11B) { + if (decode_libevent_version(event_get_version(), NULL) < LE_11B) { setenv("EVENT_NOKQUEUE","1",1); } #endif