From 4d3b34b0366b57d8bb330f1304e1da6f4dffe2ca Mon Sep 17 00:00:00 2001 From: Miles Bader Date: Mon, 1 Jul 1996 22:45:49 +0000 Subject: (sock_create): Initialize ID field to MACH_PORT_NULL. --- pflocal/sock.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pflocal/sock.c b/pflocal/sock.c index 24dda9b3..f340b586 100644 --- a/pflocal/sock.c +++ b/pflocal/sock.c @@ -117,7 +117,7 @@ sock_create (struct pipe_class *pipe_class, struct sock **sock) new->refs = 0; new->flags = 0; new->write_pipe = NULL; - new->id = next_sock_id++; + new->id = MACH_PORT_NULL; new->listen_queue = NULL; new->connect_queue = NULL; new->pipe_class = pipe_class; -- cgit v1.2.3