Commit 41c93895 authored by Reinhard Karcher's avatar Reinhard Karcher Committed by Alexandre Julliard

server: Fix 0 timeout handling for serial I/O.

parent dff43b73
......@@ -272,7 +272,7 @@ static void serial_queue_async( struct fd *fd, void *apc, void *user, void *iosb
}
add_timeout( &when, timeout );
if (!create_async( current, &when, queue, apc, user, iosb )) return;
if (!create_async( current, timeout ? &when : NULL, queue, apc, user, iosb )) return;
/* Check if the new pending request can be served immediately */
events = check_fd_events( fd, serial_get_poll_events( fd ) );
......
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