[or-cvs] Add code to suppress spurious libevent log msgs; use it to ...

Nick Mathewson nickm at seul.org
Fri Apr 1 07:05:24 UTC 2005


Update of /home/or/cvsroot/tor/src/or
In directory moria.mit.edu:/tmp/cvs-serv3632/src/or

Modified Files:
	config.c 
Log Message:
Add code to suppress spurious libevent log msgs; use it to resolve bug 68.

Index: config.c
===================================================================
RCS file: /home/or/cvsroot/tor/src/or/config.c,v
retrieving revision 1.328
retrieving revision 1.329
diff -u -d -r1.328 -r1.329
--- config.c	1 Apr 2005 02:37:40 -0000	1.328
+++ config.c	1 Apr 2005 07:05:21 -0000	1.329
@@ -270,7 +270,9 @@
   }
   if (!libevent_initialized) {
     configure_libevent_logging();
+    suppress_libevent_logmsg("function not implemented");
     event_init();
+    suppress_libevent_msg(NULL);
 #if defined(HAVE_EVENT_GET_VERSION) && defined(HAVE_EVENT_GET_METHOD)
     /* Making this a NOTICE for now so we can link bugs to a libevent versions
      * or methods better. */



More information about the tor-commits mailing list