summaryrefslogtreecommitdiff
path: root/pflocal
diff options
context:
space:
mode:
authorMiles Bader <miles@gnu.org>1995-07-30 00:53:20 +0000
committerMiles Bader <miles@gnu.org>1995-07-30 00:53:20 +0000
commit983254024c002df716382fc19f70dbf2561438dd (patch)
tree1b27071de925d1302c0b012c3afc0f29b103235c /pflocal
parent0c67ac7e01bce46ac886e8249bade9db3844bd95 (diff)
(sock_create): Initialize the CONNECT_QUEUE field and rename CONNQ to
LISTEN_QUEUE.
Diffstat (limited to 'pflocal')
-rw-r--r--pflocal/sock.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/pflocal/sock.c b/pflocal/sock.c
index 22632459..840e31b9 100644
--- a/pflocal/sock.c
+++ b/pflocal/sock.c
@@ -131,7 +131,8 @@ sock_create (struct pipe_class *pipe_class, struct sock **sock)
new->flags = 0;
new->write_pipe = NULL;
new->id = next_sock_id++;
- new->connq = NULL;
+ new->listen_queue = NULL;
+ new->connect_queue = NULL;
new->addr = NULL;
bzero (&new->change_time, sizeof (new->change_time));
mutex_init (&new->lock);