summaryrefslogtreecommitdiff
path: root/pflocal/io.c
diff options
context:
space:
mode:
Diffstat (limited to 'pflocal/io.c')
-rw-r--r--pflocal/io.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/pflocal/io.c b/pflocal/io.c
index 36221a66..b2ae7593 100644
--- a/pflocal/io.c
+++ b/pflocal/io.c
@@ -1,6 +1,6 @@
/* Socket I/O operations
- Copyright (C) 1995, 1996, 1998, 1999, 2000, 2002, 2007
+ Copyright (C) 1995, 1996, 1998, 1999, 2000, 2002, 2007, 2012
Free Software Foundation, Inc.
Written by Miles Bader <miles@gnu.org>
@@ -199,16 +199,16 @@ S_io_select (struct sock_user *user,
if (*select_type & SELECT_READ)
{
- /* 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)
+ /* 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)
/* 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, NULL);
+ return connq_listen (sock->listen_queue, 0, NULL);
}
}
}