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/connection.cc | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'server/src/connection.cc') diff --git a/server/src/connection.cc b/server/src/connection.cc index 17ec942..849a90c 100644 --- a/server/src/connection.cc +++ b/server/src/connection.cc @@ -47,7 +47,7 @@ static bool did_commit = false; Connection::Connection(Environment &e, std::string sid, bool c, bool d) : env(e), parser(&transaction) { - PRACRO_DEBUG(connection, "[%p] CREATE\n", this); + DEBUG(connection, "[%p] CREATE\n", this); sessionid = sid; docommit = c; @@ -62,7 +62,7 @@ Connection::Connection(Environment &e, std::string sid, bool c, bool d) Connection::~Connection() { - PRACRO_DEBUG(connection, "[%p] DESTROY\n", this); + DEBUG(connection, "[%p] DESTROY\n", this); } void Connection::commit(Session *session) @@ -103,7 +103,7 @@ bool Connection::handle(const char *data, size_t size) } if(session == NULL) { - PRACRO_ERR(connection, "New session could not be created."); + ERR(connection, "New session could not be created."); response = error_box(xml_encode("New session could not be created.")); return true; } @@ -133,7 +133,7 @@ bool Connection::handle(const char *data, size_t size) return true; } } catch(...) { - PRACRO_ERR(server, "Failed to parse data!\n"); + ERR(server, "Failed to parse data!\n"); response = error_box(xml_encode("XML Parse error.")); return true; } -- cgit v1.2.3