Reinhard Karcher : server: Fix 0 timeout handling for serial I/O.
Alexandre Julliard
julliard at wine.codeweavers.com
Wed Jan 3 05:37:40 CST 2007
Module: wine
Branch: master
Commit: 41c93895b8274741b5464da873970e28feed8964
URL: http://source.winehq.org/git/wine.git/?a=commit;h=41c93895b8274741b5464da873970e28feed8964
Author: Reinhard Karcher <rkarcher at frey.de>
Date: Mon Jan 1 17:47:04 2007 +0100
server: Fix 0 timeout handling for serial I/O.
---
server/serial.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/server/serial.c b/server/serial.c
index 03909d0..866547b 100644
--- a/server/serial.c
+++ b/server/serial.c
@@ -272,7 +272,7 @@ static void serial_queue_async( struct f
}
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 ) );
More information about the wine-cvs
mailing list