commit | 8081e5a1e57f9d0fbf46a9fa2c0e6d74aeed4411 | [log] [tgz] |
---|---|---|
author | Alexandre Julliard <julliard@winehq.org> | Fri Jan 05 04:08:07 2001 +0000 |
committer | Alexandre Julliard <julliard@winehq.org> | Fri Jan 05 04:08:07 2001 +0000 |
tree | dd734717daeea1bc65439aacf6f54911febc0509 | |
parent | 980eeecf99e59768d0fa97a9e8790d7e8208c738 [diff] [blame] |
Added handle_t type to server interface so that we can make handles pointers later on. Always use 0 to signal invalid handle in server requests.
diff --git a/server/queue.c b/server/queue.c index 8d63e7b..3067c0c 100644 --- a/server/queue.c +++ b/server/queue.c
@@ -110,7 +110,7 @@ { struct msg_queue *queue = current->queue; - req->handle = -1; + req->handle = 0; if (!queue) queue = create_msg_queue( current ); if (queue) req->handle = alloc_handle( current->process, queue, SYNCHRONIZE, 0 ); }