Eric Pouech : ntdll: Fix serial timeout regression.

Alexandre Julliard julliard at wine.codeweavers.com
Mon May 15 04:51:49 CDT 2006


Module: wine
Branch: refs/heads/master
Commit: 0ddd1c9e18331f6745a5ba69a10c7c01814c9199
URL:    http://source.winehq.org/git/?p=wine.git;a=commit;h=0ddd1c9e18331f6745a5ba69a10c7c01814c9199

Author: Eric Pouech <eric.pouech at wanadoo.fr>
Date:   Fri May 12 22:05:48 2006 +0200

ntdll: Fix serial timeout regression.

---

 dlls/ntdll/serial.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/dlls/ntdll/serial.c b/dlls/ntdll/serial.c
index 64e181a..5290b96 100644
--- a/dlls/ntdll/serial.c
+++ b/dlls/ntdll/serial.c
@@ -968,7 +968,7 @@ #endif
     case IOCTL_SERIAL_GET_TIMEOUTS:
         if (lpOutBuffer && nOutBufferSize == sizeof(SERIAL_TIMEOUTS))
         {
-            if (!(status = get_timeouts(hDevice, (SERIAL_TIMEOUTS*)lpInBuffer)))
+            if (!(status = get_timeouts(hDevice, (SERIAL_TIMEOUTS*)lpOutBuffer)))
                 sz = sizeof(SERIAL_TIMEOUTS);
         }
         else




More information about the wine-cvs mailing list