summaryrefslogtreecommitdiff
path: root/server/src/artefact.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/artefact.cc
parent71318f4e56dd1467b071404c61f686745cf3dfc4 (diff)
Remove PRACRO_ prefix from debug macros.
Diffstat (limited to 'server/src/artefact.cc')
-rw-r--r--server/src/artefact.cc8
1 files changed, 4 insertions, 4 deletions
diff --git a/server/src/artefact.cc b/server/src/artefact.cc
index f3e739d..d8867c5 100644
--- a/server/src/artefact.cc
+++ b/server/src/artefact.cc
@@ -36,11 +36,11 @@ Artefact::Artefact()
{
#ifndef WITHOUT_ARTEFACT
- PRACRO_DEBUG(artefact, "Creating artefact connection %s : %d\n",
+ DEBUG(artefact, "Creating artefact connection %s : %d\n",
Conf::artefact_addr.c_str(), Conf::artefact_port);
atfh = atf_init();
- if(!atfh) PRACRO_ERR(artefact, "Out of memory!\n");
+ if(!atfh) ERR(artefact, "Out of memory!\n");
conn = atf_connect(atfh,
Conf::artefact_addr.c_str(),
@@ -102,7 +102,7 @@ QueryResult Artefact::exec(Query &query,
atf_id id;
if(query.attributes.find("class") == query.attributes.end()) {
- PRACRO_ERR(artefact, "Missing 'class' attribute!\n");
+ ERR(artefact, "Missing 'class' attribute!\n");
goto aaarg;
}
@@ -138,7 +138,7 @@ QueryResult Artefact::exec(Query &query,
goto cleanup;
aaarg:
- PRACRO_ERR(artefact, "Artefact comm error (%d)!\n", atf_get_last_error(atfh));
+ ERR(artefact, "Artefact comm error (%d)!\n", atf_get_last_error(atfh));
cleanup:
if(root) atf_free_result_node(root);