Revision: 33211
http://sourceforge.net/p/opalvoip/code/33211
Author: rjongbloed
Date: 2015-01-06 02:26:02 +0000 (Tue, 06 Jan 2015)
Log Message:
-----------
Fixed XML parser version of memory usage.
Modified Paths:
--------------
ptlib/trunk/src/ptlib/unix/tlibthrd.cxx
Modified: ptlib/trunk/src/ptlib/unix/tlibthrd.cxx
===================================================================
--- ptlib/trunk/src/ptlib/unix/tlibthrd.cxx 2015-01-06 01:56:27 UTC (rev 33210)
+++ ptlib/trunk/src/ptlib/unix/tlibthrd.cxx 2015-01-06 02:26:02 UTC (rev 33211)
@@ -32,6 +32,7 @@
*/
#include <ptlib/socket.h>
+#include <ptclib/pxml.h>
#include <sched.h>
#include <pthread.h>
#include <sys/resource.h>
@@ -1126,7 +1127,7 @@
malloc_info(0, mem);
fclose(mem);
-#if P_XML
+#if P_EXPAT
PXML xml;
if (xml.Load(buffer)) {
PXMLElement * root = xml.GetRootElement();
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|