From 8328d2b33baa60cc88d4edcebce8064426e72650 Mon Sep 17 00:00:00 2001 From: deva Date: Thu, 12 Feb 2009 08:20:12 +0000 Subject: Changed printf to PRACRO_DEBUG --- server/src/luaresume.cc | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'server') diff --git a/server/src/luaresume.cc b/server/src/luaresume.cc index ce6df98..15377d8 100644 --- a/server/src/luaresume.cc +++ b/server/src/luaresume.cc @@ -26,6 +26,8 @@ */ #include "luaresume.h" +#include "debug.h" + #include #define GLOBAL_POINTER "_pracroGlobalLUAObjectPointerThisShouldBeANameThatIsNotAccidentallyOverwritten" @@ -97,7 +99,7 @@ std::string LUAResume::run(std::string program) return false; } - printf("Running %s\n", program.c_str()); + PRACRO_DEBUG("Running %s\n", program.c_str()); /* lua_pushstring(L, value.toStdString().c_str()); -- cgit v1.2.3