summaryrefslogtreecommitdiff
path: root/pflocal/sock.c
diff options
context:
space:
mode:
authorMarcus Brinkmann <marcus@gnu.org>2002-04-24 16:30:07 +0000
committerMarcus Brinkmann <marcus@gnu.org>2002-04-24 16:30:07 +0000
commit7ccb92aa6a0493b9896c8219de4b2cd0d4b37bb3 (patch)
treecb6c5fe741034b46240fa20cb5feb87903ccf93a /pflocal/sock.c
parent5300252b6a150f8ad36dbca57d4998a4b1bc0f22 (diff)
Beautify last change.
Diffstat (limited to 'pflocal/sock.c')
-rw-r--r--pflocal/sock.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/pflocal/sock.c b/pflocal/sock.c
index 0b11c54a..11c72842 100644
--- a/pflocal/sock.c
+++ b/pflocal/sock.c
@@ -458,14 +458,14 @@ sock_shutdown (struct sock *sock, unsigned flags)
sock->flags |= flags;
if (flags & SOCK_SHUTDOWN_READ && !(old_flags & SOCK_SHUTDOWN_READ))
- /* Shutdown the read half. */
{
+ /* Shutdown the read half. */
read_pipe = sock->read_pipe;
sock->read_pipe = NULL;
}
if (flags & SOCK_SHUTDOWN_WRITE && !(old_flags & SOCK_SHUTDOWN_WRITE))
- /* Shutdown the write half. */
{
+ /* Shutdown the write half. */
write_pipe = sock->write_pipe;
sock->write_pipe = NULL;
}