aboutsummaryrefslogtreecommitdiff
path: root/dpi/https.c
diff options
context:
space:
mode:
Diffstat (limited to 'dpi/https.c')
-rw-r--r--dpi/https.c7
1 files changed, 6 insertions, 1 deletions
diff --git a/dpi/https.c b/dpi/https.c
index fff0be3b..294dc332 100644
--- a/dpi/https.c
+++ b/dpi/https.c
@@ -64,8 +64,13 @@
/*
* Debugging macros
*/
+#define SILENT 1
#define _MSG(...)
-#define MSG(...) printf("[https dpi]: " __VA_ARGS__)
+#if SILENT
+ #define MSG(...)
+#else
+ #define MSG(...) fprintf(stderr, "[https dpi]: " __VA_ARGS__)
+#endif
#ifdef ENABLE_SSL