summaryrefslogtreecommitdiff
path: root/server/src/connection.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/connection.cc
parent71318f4e56dd1467b071404c61f686745cf3dfc4 (diff)
Remove PRACRO_ prefix from debug macros.
Diffstat (limited to 'server/src/connection.cc')
-rw-r--r--server/src/connection.cc8
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;
}