summaryrefslogtreecommitdiffstats
path: root/lib/memory.h
diff options
context:
space:
mode:
authorChris Hall <GMCH@hestia.halldom.com>2010-05-13 23:50:16 +0100
committerChris Hall <GMCH@hestia.halldom.com>2010-05-13 23:50:16 +0100
commit76c460a85aa0aea7dc90948f3b52979d09f94812 (patch)
treeaa6d4404250ea4d06596bb6f627fa974783fb5f7 /lib/memory.h
parente310717c85410af6caa29b7819c8c988cc149eb6 (diff)
downloadquagga-76c460a85aa0aea7dc90948f3b52979d09f94812.tar.bz2
quagga-76c460a85aa0aea7dc90948f3b52979d09f94812.tar.xz
Reinstate NOTIFICATION logging and turn off Memory Tracker
In the introduction of the BGP Engine the logging of NOTIFICATION messages fell by the wayside. This change reinstates that logging. This change also turns off the Memory Tracker, unless QDEBUG is defined.
Diffstat (limited to 'lib/memory.h')
-rw-r--r--lib/memory.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/memory.h b/lib/memory.h
index d67e865b..6c95d73a 100644
--- a/lib/memory.h
+++ b/lib/memory.h
@@ -56,7 +56,9 @@ extern struct mlist mlists[];
mtype_zstrdup (__FILE__, __LINE__, (mtype), (str))
#else
+#ifdef QDEBUG
#define MEMORY_TRACKER 1
+#endif
#ifdef MEMORY_TRACKER
#define MEMORY_TRACKER_NAME , const char* name