From ab96caac3c631ca452b21a0529372f1165638002 Mon Sep 17 00:00:00 2001 From: deva Date: Wed, 29 Jul 2009 07:25:25 +0000 Subject: Split up commits and requests to seperate functions. Changed Database * to Database & --- server/src/macrolist.cc | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'server/src/macrolist.cc') diff --git a/server/src/macrolist.cc b/server/src/macrolist.cc index f067fb1..e8bc507 100644 --- a/server/src/macrolist.cc +++ b/server/src/macrolist.cc @@ -75,10 +75,10 @@ std::string MacroList::getLatestVersion(std::string macro) throw(Exception) if(find(macro) == end()) throw Exception("Macro ["+macro+"] does not exist"); MacroListItem mli = (*this)[macro]; if(mli.size() == 0) return ""; - printf("Search for %s - found %s v%s\n", - macro.c_str(), - (macropath + "/" + mli.begin()->second).c_str(), - ((std::string)mli.begin()->first).c_str()); + PRACRO_DEBUG(macrolist, "Search for %s - found %s v%s\n", + macro.c_str(), + (macropath + "/" + mli.begin()->second).c_str(), + ((std::string)mli.begin()->first).c_str()); return macropath + "/" + mli.begin()->second; } -- cgit v1.2.3