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