]> git.ipfire.org Git - thirdparty/tor.git/commitdiff
Make the last bunch of libevent version detection silliness work on macosx.
authorNick Mathewson <nickm@torproject.org>
Wed, 7 Jan 2009 21:13:02 +0000 (21:13 +0000)
committerNick Mathewson <nickm@torproject.org>
Wed, 7 Jan 2009 21:13:02 +0000 (21:13 +0000)
svn:r18015

src/or/config.c

index 02b9793737c1d2a44e9fa8e6d78cc2c4aafa4e1d..53fc5fb0bcbb69ef97153194ccfa67845a5face2 100644 (file)
@@ -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