diff --git a/nfq/crypto/gcm.h b/nfq/crypto/gcm.h index 42adad99..788faa3e 100644 --- a/nfq/crypto/gcm.h +++ b/nfq/crypto/gcm.h @@ -29,7 +29,6 @@ #if defined(_MSC_VER) #include -typedef unsigned int size_t;// use the right type for length declarations typedef UINT32 uint32_t; typedef UINT64 uint64_t; #else diff --git a/nfq/params.c b/nfq/params.c index a59a810f..8e0fbccd 100644 --- a/nfq/params.c +++ b/nfq/params.c @@ -50,7 +50,7 @@ static char log_buf[1024]; static size_t log_buf_sz=0; static void syslog_log_function(int priority, const char *line) { - syslog(priority,"%s",log_buf); + syslog(priority,"%s",line); } #ifdef __ANDROID__ static enum android_LogPriority syslog_priority_to_android(int priority)