aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLuca Deri <deri@ntop.org>2015-11-30 14:21:50 +0100
committerLuca Deri <deri@ntop.org>2015-11-30 14:21:50 +0100
commit34e0a74c0764b776ac71e33789cdf912afad376b (patch)
treea9522131809e3cd8e11f41190911382f600a8354
parentf04c3c6acb59de55741b112dfcdd19cc9379db9d (diff)
Win fixes
-rw-r--r--src/include/ndpi_define.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/include/ndpi_define.h b/src/include/ndpi_define.h
index 1a135732c..173c212bc 100644
--- a/src/include/ndpi_define.h
+++ b/src/include/ndpi_define.h
@@ -289,7 +289,7 @@
#define match_first_bytes(payload,st) (memcmp((payload),(st),(sizeof(st)-1))==0)
#if defined(WIN32) && !defined(snprintf)
-#define snprintf(buf,len, format,...) _snprintf_s(buf, len,len, format, __VA_ARGS__)
+#define snprintf _snprintf
#endif
#endif /* __NDPI_DEFINE_INCLUDE_FILE__ */