ntdll: Fix serial timeout regression.

This commit is contained in:
Eric Pouech 2006-05-12 22:05:48 +02:00 committed by Alexandre Julliard
parent 8af7be69cb
commit 0ddd1c9e18

View File

@ -968,7 +968,7 @@ NTSTATUS COMM_DeviceIoControl(HANDLE hDevice,
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