From 73f6c1531e44a843933284da81f3d4f6431572ce Mon Sep 17 00:00:00 2001 From: Nick Mathewson Date: Fri, 1 Apr 2005 07:16:52 +0000 Subject: [PATCH] fix typo in earlier libevent mmessage suppress patch svn:r3950 --- src/common/log.c | 1 + src/or/config.c | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/src/common/log.c b/src/common/log.c index 6b1a1a5c03..cfab09368a 100644 --- a/src/common/log.c +++ b/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 diff --git a/src/or/config.c b/src/or/config.c index 9d9320f567..d452bc57f9 100644 --- a/src/or/config.c +++ b/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. */