/[hurd]/hurd/pflocal/sock.c
ViewVC logotype

Diff of /hurd/pflocal/sock.c

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.29 by marcus, Wed Apr 24 16:30:07 2002 UTC revision 1.30 by neal, Wed May 18 10:00:26 2005 UTC
# Line 1  Line 1 
1  /* Sock functions  /* Sock functions
2    
3     Copyright (C) 1995,96,2000,01,02 Free Software Foundation, Inc.     Copyright (C) 1995,96,2000,01,02, 2005 Free Software Foundation, Inc.
4     Written by Miles Bader <miles@gnu.org>     Written by Miles Bader <miles@gnu.org>
5    
6     This program is free software; you can redistribute it and/or     This program is free software; you can redistribute it and/or
# Line 138  sock_free (struct sock *sock) Line 138  sock_free (struct sock *sock)
138      mach_port_destroy (mach_task_self (), sock->id);      mach_port_destroy (mach_task_self (), sock->id);
139    if (sock->listen_queue)    if (sock->listen_queue)
140      connq_destroy (sock->listen_queue);      connq_destroy (sock->listen_queue);
   if (sock->connect_queue)  
     connq_destroy (sock->connect_queue);  
141    free (sock);    free (sock);
142  }  }
143    

Legend:
Removed from v.1.29  
changed lines
  Added in v.1.30

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26