patch 7.4.837
Problem: Compiler warning with MSVC compiler when using +sniff.
Solution: Use Sleep() instead of _sleep(). (Tux)
diff --git a/src/if_sniff.c b/src/if_sniff.c
index 5cacb72..bfdc68b 100644
--- a/src/if_sniff.c
+++ b/src/if_sniff.c
@@ -655,7 +655,11 @@
else
{
#ifdef WIN32
+# if (defined(_MSC_VER) && _MSC_VER >= 1400)
+ Sleep(2);
+# else
_sleep(2);
+# endif
if (!sniff_request_processed)
ProcessSniffRequests();
#else
diff --git a/src/version.c b/src/version.c
index 08d1140..57ff84c 100644
--- a/src/version.c
+++ b/src/version.c
@@ -742,6 +742,8 @@
static int included_patches[] =
{ /* Add new patch number below this line */
/**/
+ 837,
+/**/
836,
/**/
835,