[tor-commits] [torsocks/osx] Only enable debug output for debug builds

hoganrobert at torproject.org hoganrobert at torproject.org
Sun Oct 23 18:27:13 UTC 2011


commit 7079fb3523ce72fdca18e87bc430fa7955d97063
Author: Robert Hogan <robert at roberthogan.net>
Date:   Sun Sep 19 13:41:54 2010 +0100

    Only enable debug output for debug builds
    
    Debug output was printing on release builds and getting suppressed
    on debug builds - which is the wrong way round!
---
 configure.in |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/configure.in b/configure.in
index 06461ff..ee5b4f4 100644
--- a/configure.in
+++ b/configure.in
@@ -200,7 +200,7 @@ if test "${enable_oldmethod}" = "yes"; then
   oldmethod="yes"
 fi
 
-if test "x${enable_debug}" = "x"; then
+if test "x${enable_debug}" != "x"; then
   AC_DEFINE([ALLOW_MSG_OUTPUT],[],[Description])
 fi
 





More information about the tor-commits mailing list