diff options
author | Neal H. Walfield <neal@gnu.org> | 2005-08-29 09:41:21 +0000 |
---|---|---|
committer | Neal H. Walfield <neal@gnu.org> | 2005-08-29 09:41:21 +0000 |
commit | 50f67f1c3ae5bb8e42fe839e6a6a9cb813a90c53 (patch) | |
tree | 9271130ef728ddec73ef031e9d13204f8cba6269 /pflocal/io.c | |
parent | 1e5a9b2969616b26f7b0e5808e3281c611146fdc (diff) | |
download | hurd-50f67f1c3ae5bb8e42fe839e6a6a9cb813a90c53.tar.gz hurd-50f67f1c3ae5bb8e42fe839e6a6a9cb813a90c53.tar.bz2 hurd-50f67f1c3ae5bb8e42fe839e6a6a9cb813a90c53.zip |
Revery previous change. Was intended for ams-branch, not HEAD.
Diffstat (limited to 'pflocal/io.c')
-rw-r--r-- | pflocal/io.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/pflocal/io.c b/pflocal/io.c index 211b3dd4..bd9ecbdd 100644 --- a/pflocal/io.c +++ b/pflocal/io.c @@ -1,6 +1,6 @@ /* Socket I/O operations - Copyright (C) 1995,96,98,99,2000,02, 2005 Free Software Foundation, Inc. + Copyright (C) 1995,96,98,99,2000,02 Free Software Foundation, Inc. Written by Miles Bader <miles@gnu.org> This program is free software; you can redistribute it and/or @@ -197,16 +197,16 @@ S_io_select (struct sock_user *user, if (*select_type & SELECT_READ) { - /* Wait for a connect. Passing in NULL for SOCK means that - the request won't be dequeued. */ - if (connq_listen (sock->listen_queue, 1, NULL) == 0) + /* Wait for a connect. Passing in NULL for REQ means that the + request won't be dequeued. */ + if (connq_listen (sock->listen_queue, 1, NULL, NULL) == 0) /* We can satisfy this request immediately. */ return 0; else /* Gotta wait... */ { ports_interrupt_self_on_port_death (user, reply); - return connq_listen (sock->listen_queue, 0, NULL); + return connq_listen (sock->listen_queue, 0, NULL, NULL); } } } |