Browse Source

fix typo in earlier libevent mmessage suppress patch

svn:r3950
Nick Mathewson 20 years ago
parent
commit
73f6c1531e
2 changed files with 3 additions and 2 deletions
  1. 1 0
      src/common/log.c
  2. 2 2
      src/or/config.c

+ 1 - 0
src/common/log.c

@@ -515,4 +515,5 @@ void suppress_libevent_log_msg(const char *msg)
 }
 }
 #else
 #else
 void configure_libevent_logging(void) {}
 void configure_libevent_logging(void) {}
+void suppress_libevent_log_msg(const char *msg) {}
 #endif
 #endif

+ 2 - 2
src/or/config.c

@@ -270,9 +270,9 @@ options_act(void) {
   }
   }
   if (!libevent_initialized) {
   if (!libevent_initialized) {
     configure_libevent_logging();
     configure_libevent_logging();
-    suppress_libevent_logmsg("function not implemented");
+    suppress_libevent_log_msg("function not implemented");
     event_init();
     event_init();
-    suppress_libevent_msg(NULL);
+    suppress_libevent_log_msg(NULL);
 #if defined(HAVE_EVENT_GET_VERSION) && defined(HAVE_EVENT_GET_METHOD)
 #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
     /* Making this a NOTICE for now so we can link bugs to a libevent versions
      * or methods better. */
      * or methods better. */