From 15c1b84f13b1b79ad99a97be1ac37dff809bee9a Mon Sep 17 00:00:00 2001 From: Linus Nordberg Date: Tue, 5 Oct 2010 09:02:22 +0200 Subject: Parameterize and disable libevent debug printouts. --- lib/packet.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'lib/packet.c') diff --git a/lib/packet.c b/lib/packet.c index 1f40766..1f20d50 100644 --- a/lib/packet.c +++ b/lib/packet.c @@ -180,6 +180,9 @@ _evlog_cb (int severity, const char *msg) switch (severity) { case _EVENT_LOG_DEBUG: +#if !defined (DEBUG_LEVENT) + return; +#endif sevstr = "debug"; break; case _EVENT_LOG_MSG: -- cgit v1.1