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