summaryrefslogtreecommitdiff
path: root/server/src/saxparser.cc
diff options
context:
space:
mode:
authordeva <deva>2010-07-05 09:01:54 +0000
committerdeva <deva>2010-07-05 09:01:54 +0000
commitfbba835d7efaa4ee1d28bf5c7e2232e53d84af5e (patch)
tree5b71566f174143fea11e21e0c034bd6a1026c03d /server/src/saxparser.cc
parent71318f4e56dd1467b071404c61f686745cf3dfc4 (diff)
Remove PRACRO_ prefix from debug macros.
Diffstat (limited to 'server/src/saxparser.cc')
-rw-r--r--server/src/saxparser.cc8
1 files changed, 4 insertions, 4 deletions
diff --git a/server/src/saxparser.cc b/server/src/saxparser.cc
index 4a1657c..72f0fe4 100644
--- a/server/src/saxparser.cc
+++ b/server/src/saxparser.cc
@@ -75,7 +75,7 @@ SAXParser::SAXParser()
{
p = XML_ParserCreate(NULL);
if(!p) {
- PRACRO_ERR(sax, "Couldn't allocate memory for parser\n");
+ ERR(sax, "Couldn't allocate memory for parser\n");
// throw Exception(...);
return;
}
@@ -128,7 +128,7 @@ bool SAXParser::parse(const char *data, size_t size)
{
std::string xml;
xml.append(data, size);
- PRACRO_DEBUG(sax, "parse %d bytes [%s]\n", size, xml.c_str());
+ DEBUG(sax, "parse %d bytes [%s]\n", size, xml.c_str());
bufferbytes = size;
totalbytes += bufferbytes;
@@ -155,8 +155,8 @@ bool SAXParser::parse(const char *data, size_t size)
}
}
- if(done) PRACRO_DEBUG(sax, "Got END_OF_DOCUMENT [%s] at %ld\n",
- outertag.c_str(), XML_GetCurrentByteIndex(p));
+ if(done) DEBUG(sax, "Got END_OF_DOCUMENT [%s] at %ld\n",
+ outertag.c_str(), XML_GetCurrentByteIndex(p));
return done;
}