diff options
author | Linus Nordberg <linus@nordu.net> | 2010-10-05 09:02:22 +0200 |
---|---|---|
committer | Linus Nordberg <linus@nordu.net> | 2010-10-05 09:02:22 +0200 |
commit | 69188ac543de80db7b80f1ebeb551999be46e907 (patch) | |
tree | 6b3436402ff88839e3c10d04727e18bb79357b0f /lib/packet.c | |
parent | 49ff28d304aedf98ef21d2a8a8456ec738430c5c (diff) |
Parameterize and disable libevent debug printouts.
Diffstat (limited to 'lib/packet.c')
-rw-r--r-- | lib/packet.c | 3 |
1 files changed, 3 insertions, 0 deletions
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: |