diff options
Diffstat (limited to 'server/src/saxparser.cc')
| -rw-r--r-- | server/src/saxparser.cc | 8 | 
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;  }  | 
