summaryrefslogtreecommitdiff
path: root/server/src/connection.cc
diff options
context:
space:
mode:
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;
}