From 9e32839a4db863d9e42484a6f4c6c98b2ea66cf6 Mon Sep 17 00:00:00 2001 From: tudnai Date: Mon, 27 Apr 2020 20:31:16 -0700 Subject: [PATCH] - use outdev file for dbgPrintf --- src/util/common.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/util/common.h b/src/util/common.h index 01cd578..fcb81b1 100644 --- a/src/util/common.h +++ b/src/util/common.h @@ -21,7 +21,7 @@ #ifdef DEBUG -//#define dbgPrintf(format, ...) printf (format, ## __VA_ARGS__) +//#define dbgPrintf(format, ...) if(outdev) fprintf(outdev, format, ## __VA_ARGS__) #define dbgPrintf(format, ...) #define dbgPrintf2(format, ...) if(outdev) fprintf(outdev, format, ## __VA_ARGS__) #else