aboutsummaryrefslogtreecommitdiff
path: root/src/or/config.c
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2005-09-14 20:59:25 +0000
committerNick Mathewson <nickm@torproject.org>2005-09-14 20:59:25 +0000
commit922cee3d0c63e72f2e7a7d9b495b8fa65f2312e2 (patch)
tree1fcf272fb192665ea6573b69651481c4dbd36874 /src/or/config.c
parentd9ee94543e000aaae2f5bae3dde0d60b33ee8b2d (diff)
downloadtor-922cee3d0c63e72f2e7a7d9b495b8fa65f2312e2.tar.gz
tor-922cee3d0c63e72f2e7a7d9b495b8fa65f2312e2.zip
Clean up a few warnings that make gcc twig out a bit.
svn:r5062
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 a8e185fa6f..69217df622 100644
--- a/src/or/config.c
+++ b/src/or/config.c
@@ -3171,7 +3171,7 @@ init_libevent(void)
*/
suppress_libevent_log_msg("Function not implemented");
#ifdef __APPLE__
- putenv("EVENT_NOKQUEUE=1");
+ setenv("EVENT_NOKQUEUE","1",1);
#endif
event_init();
suppress_libevent_log_msg(NULL);