diff options
author | Miles Bader <miles@gnu.org> | 1996-07-01 22:45:49 +0000 |
---|---|---|
committer | Miles Bader <miles@gnu.org> | 1996-07-01 22:45:49 +0000 |
commit | 4d3b34b0366b57d8bb330f1304e1da6f4dffe2ca (patch) | |
tree | 9645bb78baad3f4e2ca32b7a5abed769ccde35f9 | |
parent | 6206e82766ddf6b23d9d79b5a66c01e7ce395075 (diff) |
(sock_create): Initialize ID field to MACH_PORT_NULL.
-rw-r--r-- | pflocal/sock.c | 2 |
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; |