From e4024d228cde3051d9711de9eb3b3df17022d643 Mon Sep 17 00:00:00 2001 From: kh1 <qt-info@nokia.com> Date: Tue, 12 Jan 2010 16:56:53 +0100 Subject: [PATCH] Fix timeout bug on windows. Sleep() is taking milliseconds instead of microseconds. --- src/libs/3rdparty/net7ssh/src/ne7ssh_types.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/libs/3rdparty/net7ssh/src/ne7ssh_types.h b/src/libs/3rdparty/net7ssh/src/ne7ssh_types.h index be7775ab74a..68af80c0047 100644 --- a/src/libs/3rdparty/net7ssh/src/ne7ssh_types.h +++ b/src/libs/3rdparty/net7ssh/src/ne7ssh_types.h @@ -88,7 +88,7 @@ typedef uint8_t Byte; #endif #if defined(WIN32) || defined(__MINGW32__) -# define usleep(time) Sleep(time) +# define usleep(time) Sleep(time / 1000) #endif #endif -- GitLab