summaryrefslogtreecommitdiff
path: root/server/src/queryresult.h
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/queryresult.h
parent71318f4e56dd1467b071404c61f686745cf3dfc4 (diff)
Remove PRACRO_ prefix from debug macros.
Diffstat (limited to 'server/src/queryresult.h')
-rw-r--r--server/src/queryresult.h21
1 files changed, 12 insertions, 9 deletions
diff --git a/server/src/queryresult.h b/server/src/queryresult.h
index de95a49..f734303 100644
--- a/server/src/queryresult.h
+++ b/server/src/queryresult.h
@@ -41,18 +41,21 @@ public:
std::map< std::string, QueryResult > groups;
void print(std::string tabs = "") {
- PRACRO_DEBUG(queryhandler,"%sTimestamp: %d\n", tabs.c_str(), (int)timestamp);
- PRACRO_DEBUG(queryhandler,"%sSource: %s\n", tabs.c_str(), source.c_str());
- PRACRO_DEBUG(queryhandler,"%sValues:\n", tabs.c_str());
- for(std::map< std::string, std::string >::iterator i = values.begin(); i != values.end(); i++) {
- PRACRO_DEBUG(queryhandler,"%s[%s] => [%s]\n", tabs.c_str(), i->first.c_str(), i->second.c_str());
+ DEBUG(queryhandler,"%sTimestamp: %d\n", tabs.c_str(), (int)timestamp);
+ DEBUG(queryhandler,"%sSource: %s\n", tabs.c_str(), source.c_str());
+ DEBUG(queryhandler,"%sValues:\n", tabs.c_str());
+ for(std::map< std::string, std::string >::iterator i = values.begin();
+ i != values.end(); i++) {
+ DEBUG(queryhandler,"%s[%s] => [%s]\n",
+ tabs.c_str(), i->first.c_str(), i->second.c_str());
}
- PRACRO_DEBUG(queryhandler,"%s{\n", tabs.c_str());
- for(std::map< std::string, QueryResult >::iterator i = groups.begin(); i != groups.end(); i++) {
- PRACRO_DEBUG(queryhandler,"%s[%s] =>:\n", tabs.c_str(), i->first.c_str());
+ DEBUG(queryhandler,"%s{\n", tabs.c_str());
+ for(std::map< std::string, QueryResult >::iterator i = groups.begin();
+ i != groups.end(); i++) {
+ DEBUG(queryhandler,"%s[%s] =>:\n", tabs.c_str(), i->first.c_str());
i->second.print(tabs +" ");
}
- PRACRO_DEBUG(queryhandler,"%s}\n", tabs.c_str());
+ DEBUG(queryhandler,"%s}\n", tabs.c_str());
}
};