summaryrefslogtreecommitdiffstats
path: root/common/defines.h
diff options
context:
space:
mode:
Diffstat (limited to 'common/defines.h')
-rw-r--r--common/defines.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/common/defines.h b/common/defines.h
index 9b5add70..e3ffa7b4 100644
--- a/common/defines.h
+++ b/common/defines.h
@@ -25,9 +25,11 @@
/* check for debug */
#ifdef XRDP_DEBUG
-#define DEBUG(args) g_printf args;
+#define DEBUG(args) g_writeln args;
+#define LIB_DEBUG(_mod, _text) _mod->server_msg(_mod, _text, 1);
#else
#define DEBUG(args)
+#define LIB_DEBUG(_mod, _text)
#endif
/* other macros */
#undef MIN