From fbba835d7efaa4ee1d28bf5c7e2232e53d84af5e Mon Sep 17 00:00:00 2001 From: deva Date: Mon, 5 Jul 2010 09:01:54 +0000 Subject: Remove PRACRO_ prefix from debug macros. --- server/src/sessionparser.cc | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'server/src/sessionparser.cc') 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 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); -- cgit v1.2.3