summaryrefslogtreecommitdiff
path: root/server/src
diff options
context:
space:
mode:
authordeva <deva>2009-02-12 08:20:12 +0000
committerdeva <deva>2009-02-12 08:20:12 +0000
commit8328d2b33baa60cc88d4edcebce8064426e72650 (patch)
treebd5c8e86dab5ea5d4d935bcced082cf2a0b4241b /server/src
parente1462093277b7411bee08ef9151ce03595ddba8c (diff)
Changed printf to PRACRO_DEBUG
Diffstat (limited to 'server/src')
-rw-r--r--server/src/luaresume.cc4
1 files changed, 3 insertions, 1 deletions
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 <stdio.h>
#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());