From 922fcea866df2d0351ea165d3978a058e5daac36 Mon Sep 17 00:00:00 2001 From: Jeffrey Hsu Date: Mon, 9 Sep 2024 08:50:21 +0800 Subject: [PATCH] bug fixed: marco DPRINT never work --- main.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/main.c b/main.c index aa5c54f..19b2212 100644 --- a/main.c +++ b/main.c @@ -17,10 +17,10 @@ sprintf(u, URL, SUBROOMID, enc, timestamp); \ } -#ifdef Debug +#ifndef NDEBUG #define DPRINT(s, __VA_ARGS__) \ { \ - printf(s, ...); \ + printf(s, __VA_ARGS__); \ } #else #define DPRINT(s, ...)