Commit 2e3287bc authored by Alexandre Julliard's avatar Alexandre Julliard

ntdll: Serial with ReadIntervalTimeout set to MAXDWORD should return immediately…

ntdll: Serial with ReadIntervalTimeout set to MAXDWORD should return immediately even if nothing was read.
parent 473717fe
......@@ -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 */
{
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment