summaryrefslogtreecommitdiff
path: root/server/src/queryhandlerpracro.cc
diff options
context:
space:
mode:
authordeva <deva>2009-02-11 10:04:09 +0000
committerdeva <deva>2009-02-11 10:04:09 +0000
commit8a6d1f13b7680bc8f15ce57b8065a9bc774aa891 (patch)
treed07a45e761efb1422fad7c07def6fa77bc67b1a4 /server/src/queryhandlerpracro.cc
parent794100bb1d29d06b379b25899053f997013332e4 (diff)
Changed all printf debug outputs to new debug interface (PRACRO_DEBUG and friends).
Diffstat (limited to 'server/src/queryhandlerpracro.cc')
-rw-r--r--server/src/queryhandlerpracro.cc4
1 files changed, 3 insertions, 1 deletions
diff --git a/server/src/queryhandlerpracro.cc b/server/src/queryhandlerpracro.cc
index 99c31b3..8219461 100644
--- a/server/src/queryhandlerpracro.cc
+++ b/server/src/queryhandlerpracro.cc
@@ -26,6 +26,8 @@
*/
#include "queryhandlerpracro.h"
+#include "debug.h"
+
QueryHandlerPracro::QueryHandlerPracro(Database *db, std::string cpr)
{
this->cpr = cpr;
@@ -52,7 +54,7 @@ QueryResult QueryHandlerPracro::exec(Query &query)
result.values[field] = value;
result.source = "pracro";
- printf("QHP: %s => %s (%lu)\n", field.c_str(), value.c_str(), timestamp);
+ PRACRO_DEBUG(queryhandler,"%s => %s (%lu)\n", field.c_str(), value.c_str(), timestamp);
return result;
}