summaryrefslogtreecommitdiff
path: root/pflocal/sock.c
diff options
context:
space:
mode:
authorMiles Bader <miles@gnu.org>1996-07-01 22:45:49 +0000
committerMiles Bader <miles@gnu.org>1996-07-01 22:45:49 +0000
commit4d3b34b0366b57d8bb330f1304e1da6f4dffe2ca (patch)
tree9645bb78baad3f4e2ca32b7a5abed769ccde35f9 /pflocal/sock.c
parent6206e82766ddf6b23d9d79b5a66c01e7ce395075 (diff)
(sock_create): Initialize ID field to MACH_PORT_NULL.
Diffstat (limited to 'pflocal/sock.c')
-rw-r--r--pflocal/sock.c2
1 files changed, 1 insertions, 1 deletions
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;