From 1f27022fa75b71ce7da63ffa47b457622e74d6a1 Mon Sep 17 00:00:00 2001 From: Joseph Henry Date: Fri, 20 Nov 2015 01:08:38 -0800 Subject: Test/Code Refactor in preparation for merge --- netcon/Common.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'netcon/Common.c') diff --git a/netcon/Common.c b/netcon/Common.c index 41a6c2a2..48501038 100755 --- a/netcon/Common.c +++ b/netcon/Common.c @@ -44,7 +44,7 @@ #define MSG_ERROR 0 // Errors #define MSG_INFO 1 // Information which is generally useful to any user #define MSG_DEBUG 2 // Information which is only useful to someone debugging -#define MSG_DEBUG_EXTRA 3 // +#define MSG_DEBUG_EXTRA 3 // If nothing in your world makes sense #ifdef NETCON_INTERCEPT @@ -77,7 +77,7 @@ void print_addr(struct sockaddr *addr) #ifdef NETCON_SERVICE namespace ZeroTier { #endif - void dwr(int level, char *fmt, ... ) + void dwr(int level, const char *fmt, ... ) { if(level > DEBUG_LEVEL) return; -- cgit v1.2.3