From f55c6bc4d56ba5910899cbc8722d201ad44241ad Mon Sep 17 00:00:00 2001 From: rofl0r Date: Mon, 23 Apr 2012 22:19:52 +0200 Subject: [PATCH] fix PDEBUG macro --- src/core.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/core.h b/src/core.h index 284e3b3..09915eb 100644 --- a/src/core.h +++ b/src/core.h @@ -147,7 +147,7 @@ void pc_stringfromipv4(unsigned char *ip_buf_4_bytes, char *outbuf_16_bytes); #ifdef DEBUG # define PDEBUG(fmt, args...) fprintf(stderr,"DEBUG:"fmt, ## args) #else -# define PDEBUG(fmt, args...) +# define PDEBUG(fmt, args...) do {} while (0) #endif #endif