浏览代码

fix typo in earlier libevent mmessage suppress patch

svn:r3950
Nick Mathewson 20 年之前
父节点
当前提交
73f6c1531e
共有 2 个文件被更改,包括 3 次插入2 次删除
  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. */