aboutsummaryrefslogtreecommitdiff
path: root/common/debug.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'common/debug.cpp')
-rw-r--r--common/debug.cpp8
1 files changed, 8 insertions, 0 deletions
diff --git a/common/debug.cpp b/common/debug.cpp
index 52ff4307dd..b718b7917f 100644
--- a/common/debug.cpp
+++ b/common/debug.cpp
@@ -190,6 +190,14 @@ void debug(int level, const char *s, ...) {
}
+void debugN(const char *s, ...) {
+ va_list va;
+
+ va_start(va, s);
+ debugHelper(s, va, false);
+ va_end(va);
+}
+
void debugN(int level, const char *s, ...) {
va_list va;