Eric Pouech : ntdll: Fix serial timeout regression.
Module: wine Branch: refs/heads/master Commit: 0ddd1c9e18331f6745a5ba69a10c7c01814c9199 URL: http://source.winehq.org/git/?p=wine.git;a=commit;h=0ddd1c9e18331f6745a5ba69... Author: Eric Pouech <eric.pouech(a)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
participants (1)
-
Alexandre Julliard