summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPhilip Withnall <philip.withnall@collabora.co.uk>2015-09-04 08:14:08 +0100
committerPhilip Withnall <philip.withnall@collabora.co.uk>2015-09-04 08:14:56 +0100
commit757f8aecdb4fda86b2bbac828a3acc528d8eb8bc (patch)
tree7941b52d9574d33ea62a125d798df9a987541413
parent2eaa8b3277f4f39515ff5dc7b512a44fd79e7275 (diff)
downloadlibnice-757f8aecdb4fda86b2bbac828a3acc528d8eb8bc.tar.gz
stun: Disable debug by default
To match debug_enable in agent/debug.c. Debug can still be enabled by calling stun_debug_enable() or nice_debug_enable(). Spotted on the mailing list by Tom Chen.
-rw-r--r--stun/debug.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/stun/debug.c b/stun/debug.c
index 2b4ec59..8efb576 100644
--- a/stun/debug.c
+++ b/stun/debug.c
@@ -46,7 +46,7 @@
#include "debug.h"
-static int debug_enabled = 1;
+static int debug_enabled = 0;
void stun_debug_enable (void) {
debug_enabled = 1;