commit | 0aae1ca8bff001aa494af751f365c15bcd5ad3b8 | [log] [tgz] |
---|---|---|
author | Alexandre Julliard <julliard@winehq.org> | Mon Apr 02 20:41:59 2007 +0200 |
committer | Alexandre Julliard <julliard@winehq.org> | Mon Apr 02 20:41:59 2007 +0200 |
tree | 1e6f40e0998365ab0e9673d44cf043dab1e9b119 | |
parent | 2a86f347fad221bfbd4d0c71c4ac4f08be2a8999 [diff] [blame] |
server: Add a separate function to set the timeout of an async I/O operation.
diff --git a/server/sock.c b/server/sock.c index b9938f7..1e70f2e 100644 --- a/server/sock.c +++ b/server/sock.c
@@ -546,7 +546,9 @@ } else { - if (!create_async( current, NULL, queue, data )) return; + struct async *async; + if (!(async = create_async( current, queue, data ))) return; + release_object( async ); set_error( STATUS_PENDING ); }