From c278ac0827ff0eb5968f5509acd277b7295d2906 Mon Sep 17 00:00:00 2001 From: micio Date: Wed, 8 Feb 2017 22:32:33 +0000 Subject: [PATCH] Bazaar/Serial : fixed a timeout bug on windows git-svn-id: svn://ultimatepp.org/upp/trunk@10828 f0d560ea-af0d-0410-9eb7-867de7ffcac7 --- bazaar/Serial/SerialWindows.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bazaar/Serial/SerialWindows.cpp b/bazaar/Serial/SerialWindows.cpp index 19591bbb9..d12b2d238 100644 --- a/bazaar/Serial/SerialWindows.cpp +++ b/bazaar/Serial/SerialWindows.cpp @@ -356,7 +356,7 @@ namespace Upp req -= count; buf += count; - if(!req || (uint32_t)msecs() > timeout) + if(!req || (uint32_t)msecs() > tim) break; }