summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2009-01-07 21:13:02 +0000
committerNick Mathewson <nickm@torproject.org>2009-01-07 21:13:02 +0000
commita0a5440826fb6bcf70c9e69522dc629fe3f87a88 (patch)
tree6987adb43156c20b1136c1d58e649ba289589cc7
parenta6504cdea7680621431c2920391e2a14a052c14e (diff)
downloadtor-a0a5440826fb6bcf70c9e69522dc629fe3f87a88.tar.gz
tor-a0a5440826fb6bcf70c9e69522dc629fe3f87a88.zip
Make the last bunch of libevent version detection silliness work on macosx.
svn:r18015
-rw-r--r--src/or/config.c2
1 files changed, 1 insertions, 1 deletions
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