[Wine-patches] [eter-2.1] Revert "Hack: Multiple SetCommTimeouts for read (eterbug #9352)". (eterbug #11078).

Dmitry Timoshkov dtimoshkov на etersoft.ru
Чт Апр 14 13:17:36 MSK 2016


This reverts commit cf40d9b41bb1ea06822362488b390a0c46912422.
---
 dlls/kernel32/comm.c | 7 +++----
 1 file changed, 3 insertions(+), 4 deletions(-)

diff --git a/dlls/kernel32/comm.c b/dlls/kernel32/comm.c
index 6376ce8..445ec22 100644
--- a/dlls/kernel32/comm.c
+++ b/dlls/kernel32/comm.c
@@ -1066,10 +1066,9 @@ BOOL WINAPI SetCommTimeouts(HANDLE hComm, LPCOMMTIMEOUTS lptimeouts)
         SetLastError(ERROR_INVALID_PARAMETER);
         return FALSE;
     }
-    /* Etersoft multiples the world (eterbug #9352) */
-    st.ReadIntervalTimeout         = lptimeouts->ReadIntervalTimeout*3;
-    st.ReadTotalTimeoutMultiplier  = lptimeouts->ReadTotalTimeoutMultiplier*3;
-    st.ReadTotalTimeoutConstant    = lptimeouts->ReadTotalTimeoutConstant*3;
+    st.ReadIntervalTimeout         = lptimeouts->ReadIntervalTimeout;
+    st.ReadTotalTimeoutMultiplier  = lptimeouts->ReadTotalTimeoutMultiplier;
+    st.ReadTotalTimeoutConstant    = lptimeouts->ReadTotalTimeoutConstant;
     st.WriteTotalTimeoutMultiplier = lptimeouts->WriteTotalTimeoutMultiplier;
     st.WriteTotalTimeoutConstant   = lptimeouts->WriteTotalTimeoutConstant;
  
-- 
2.7.4



Подробная информация о списке рассылки Wine-patches