Gah, double negatives
authorArran Cudbard-Bell <a.cudbardb@freeradius.org>
Mon, 16 Jun 2014 13:19:30 +0000 (14:19 +0100)
committerArran Cudbard-Bell <a.cudbardb@freeradius.org>
Mon, 16 Jun 2014 13:19:37 +0000 (14:19 +0100)
src/lib/debug.c

index 1da7cd0..185bbcf 100644 (file)
@@ -735,7 +735,7 @@ int fr_fault_setup(char const *cmd, char const *program)
                mallopt(M_CHECK_ACTION, 3);
 #endif
 
-#if defined(HAVE_EXECINFO) && defined(__GNUC__) && defined(NDEBUG)
+#if defined(HAVE_EXECINFO) && defined(__GNUC__) && !defined(NDEBUG)
               /*
                *  We need to pre-load lgcc_s, else we can get into a deadlock
                *  in fr_fault, as backtrace() attempts to dlopen it.