/[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.28 by marcus, Wed Apr 24 16:20:53 2002 UTC revision 1.29 by marcus, Wed Apr 24 16:30:07 2002 UTC
# Line 458  sock_shutdown (struct sock *sock, unsign Line 458  sock_shutdown (struct sock *sock, unsign
458    sock->flags |= flags;    sock->flags |= flags;
459    
460    if (flags & SOCK_SHUTDOWN_READ && !(old_flags & SOCK_SHUTDOWN_READ))    if (flags & SOCK_SHUTDOWN_READ && !(old_flags & SOCK_SHUTDOWN_READ))
     /* Shutdown the read half.  */  
461      {      {
462          /* Shutdown the read half.  */
463        read_pipe = sock->read_pipe;        read_pipe = sock->read_pipe;
464        sock->read_pipe = NULL;        sock->read_pipe = NULL;
465      }      }
466    if (flags & SOCK_SHUTDOWN_WRITE && !(old_flags & SOCK_SHUTDOWN_WRITE))    if (flags & SOCK_SHUTDOWN_WRITE && !(old_flags & SOCK_SHUTDOWN_WRITE))
     /* Shutdown the write half.  */  
467      {      {
468          /* Shutdown the write half.  */
469        write_pipe = sock->write_pipe;        write_pipe = sock->write_pipe;
470        sock->write_pipe = NULL;        sock->write_pipe = NULL;
471      }      }

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

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