Explorar o código

fix typo in earlier libevent mmessage suppress patch

svn:r3950
Nick Mathewson %!s(int64=20) %!d(string=hai) anos
pai
achega
73f6c1531e
Modificáronse 2 ficheiros con 3 adicións e 2 borrados
  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
 void configure_libevent_logging(void) {}
+void suppress_libevent_log_msg(const char *msg) {}
 #endif

+ 2 - 2
src/or/config.c

@@ -270,9 +270,9 @@ options_act(void) {
   }
   if (!libevent_initialized) {
     configure_libevent_logging();
-    suppress_libevent_logmsg("function not implemented");
+    suppress_libevent_log_msg("function not implemented");
     event_init();
-    suppress_libevent_msg(NULL);
+    suppress_libevent_log_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. */