[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

[or-cvs] r18015: {tor} Make the last bunch of libevent version detection silliness (tor/trunk/src/or)



Author: nickm
Date: 2009-01-07 16:13:02 -0500 (Wed, 07 Jan 2009)
New Revision: 18015

Modified:
   tor/trunk/src/or/config.c
Log:
Make the last bunch of libevent version detection silliness work on macosx.

Modified: tor/trunk/src/or/config.c
===================================================================
--- tor/trunk/src/or/config.c	2009-01-07 21:05:02 UTC (rev 18014)
+++ tor/trunk/src/or/config.c	2009-01-07 21:13:02 UTC (rev 18015)
@@ -4743,7 +4743,7 @@
    */
   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