summaryrefslogtreecommitdiff
path: root/server/src/sessionparser.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/sessionparser.cc
parent71318f4e56dd1467b071404c61f686745cf3dfc4 (diff)
Remove PRACRO_ prefix from debug macros.
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);