diff options
author | Joseph Henry <josephjah@gmail.com> | 2015-11-20 01:08:38 -0800 |
---|---|---|
committer | Joseph Henry <josephjah@gmail.com> | 2015-11-20 01:08:38 -0800 |
commit | 1f27022fa75b71ce7da63ffa47b457622e74d6a1 (patch) | |
tree | 4c562cf1fc12d2fbd3691f01859882f196b3a910 /netcon/Common.c | |
parent | 9a25a627bba4a00465a3648b82fc89f61b980ed1 (diff) | |
download | infinitytier-1f27022fa75b71ce7da63ffa47b457622e74d6a1.tar.gz infinitytier-1f27022fa75b71ce7da63ffa47b457622e74d6a1.zip |
Test/Code Refactor in preparation for merge
Diffstat (limited to 'netcon/Common.c')
-rwxr-xr-x | netcon/Common.c | 4 |
1 files changed, 2 insertions, 2 deletions
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; |