From 50f67f1c3ae5bb8e42fe839e6a6a9cb813a90c53 Mon Sep 17 00:00:00 2001 From: "Neal H. Walfield" Date: Mon, 29 Aug 2005 09:41:21 +0000 Subject: Revery previous change. Was intended for ams-branch, not HEAD. --- pflocal/io.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'pflocal/io.c') 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 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); } } } -- cgit v1.2.3