aboutsummaryrefslogtreecommitdiff
path: root/src/or/config.c
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 /src/or/config.c
parenta6504cdea7680621431c2920391e2a14a052c14e (diff)
downloadtor-a0a5440826fb6bcf70c9e69522dc629fe3f87a88.tar
tor-a0a5440826fb6bcf70c9e69522dc629fe3f87a88.tar.gz
Make the last bunch of libevent version detection silliness work on macosx.
svn:r18015
Diffstat (limited to 'src/or/config.c')
-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 02b979373..53fc5fb0b 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