diff options
author | deva <deva> | 2010-07-05 09:01:54 +0000 |
---|---|---|
committer | deva <deva> | 2010-07-05 09:01:54 +0000 |
commit | fbba835d7efaa4ee1d28bf5c7e2232e53d84af5e (patch) | |
tree | 5b71566f174143fea11e21e0c034bd6a1026c03d /server/src/connection.cc | |
parent | 71318f4e56dd1467b071404c61f686745cf3dfc4 (diff) |
Remove PRACRO_ prefix from debug macros.
Diffstat (limited to 'server/src/connection.cc')
-rw-r--r-- | server/src/connection.cc | 8 |
1 files changed, 4 insertions, 4 deletions
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; } |