ntdll: Serial with ReadIntervalTimeout set to MAXDWORD should return immediately even if nothing was read.

This commit is contained in:
Alexandre Julliard 2008-05-07 13:29:18 +02:00
parent 473717fefd
commit 2e3287bc6a
1 changed files with 1 additions and 1 deletions

View File

@ -433,7 +433,7 @@ static NTSTATUS get_io_timeouts( HANDLE handle, enum server_fd_type type, ULONG
timeouts->total += count * st.ReadTotalTimeoutMultiplier;
}
else if (st.ReadIntervalTimeout == MAXDWORD)
timeouts->interval = 0;
timeouts->interval = timeouts->total = 0;
}
else /* write */
{