summaryrefslogtreecommitdiff
path: root/server/src/sessionparser.cc
diff options
context:
space:
mode:
Diffstat (limited to 'server/src/sessionparser.cc')
-rw-r--r--server/src/sessionparser.cc10
1 files changed, 5 insertions, 5 deletions
diff --git a/server/src/sessionparser.cc b/server/src/sessionparser.cc
index fef0f09..f449ba5 100644
--- a/server/src/sessionparser.cc
+++ b/server/src/sessionparser.cc
@@ -57,7 +57,7 @@ void SessionParser::characterData(std::string &data)
void SessionParser::startTag(std::string name,
std::map<std::string, std::string> attributes)
{
- PRACRO_DEBUG(sessionparser, "<%s>\n", name.c_str());
+ DEBUG(sessionparser, "<%s>\n", name.c_str());
if(name == "session") {
sessionid = attributes["id"];
@@ -98,14 +98,14 @@ void SessionParser::endTag(std::string name)
void SessionParser::parseError(const char *buf, size_t len,
std::string error, int lineno)
{
- PRACRO_ERR(sessionnparser, "SessionParser error at line %d: %s\n",
- lineno, error.c_str());
+ ERR(sessionnparser, "SessionParser error at line %d: %s\n",
+ lineno, error.c_str());
std::string xml;
if(buf && len) xml.append(buf, len);
- PRACRO_ERR(sessionparser, "\tBuffer %u bytes: [%s]\n",
- len, xml.c_str());
+ ERR(sessionparser, "\tBuffer %u bytes: [%s]\n",
+ len, xml.c_str());
fflush(stderr);