packages/net/mosquitto/patches/100-disable-memory-reporting.patch

13 lines
555 B
Diff
Raw Normal View History

diff -r 490c907277dc config.h
--- a/config.h Sat Jan 15 22:23:50 2011 +0000
+++ b/config.h Wed Jan 26 13:37:36 2011 +0000
@@ -15,7 +15,7 @@
/* Compile with memory tracking support? If disabled, mosquitto won't track
* heap memory usage nor export '$SYS/broker/heap/current size', but will use
* slightly less memory and CPU time. */
-#define WITH_MEMORY_TRACKING
+//#define WITH_MEMORY_TRACKING
/* Compile with the ability to upgrade from old style sqlite persistent
* databases to the new mosquitto format. This means a dependency on sqlite. It