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/artefact.cc | |
parent | 71318f4e56dd1467b071404c61f686745cf3dfc4 (diff) |
Remove PRACRO_ prefix from debug macros.
Diffstat (limited to 'server/src/artefact.cc')
-rw-r--r-- | server/src/artefact.cc | 8 |
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); |