diff options
author | Alexander Bluhm <bluhm@cvs.openbsd.org> | 2012-09-17 14:33:57 +0000 |
---|---|---|
committer | Alexander Bluhm <bluhm@cvs.openbsd.org> | 2012-09-17 14:33:57 +0000 |
commit | f425c9cbede1f45e19dcd06a07966577b280fd28 (patch) | |
tree | ed7dd6f7734291cbb54a83c050acb640e93719e8 | |
parent | 42625376eb1afeec50981c38c64c022a714b0b54 (diff) |
Fix indent white spaces.
-rw-r--r-- | sys/kern/uipc_socket.c | 26 |
1 files changed, 13 insertions, 13 deletions
diff --git a/sys/kern/uipc_socket.c b/sys/kern/uipc_socket.c index 653de7df2e1..6f7df6f3557 100644 --- a/sys/kern/uipc_socket.c +++ b/sys/kern/uipc_socket.c @@ -1,4 +1,4 @@ -/* $OpenBSD: uipc_socket.c,v 1.104 2012/07/22 18:11:54 guenther Exp $ */ +/* $OpenBSD: uipc_socket.c,v 1.105 2012/09/17 14:33:56 bluhm Exp $ */ /* $NetBSD: uipc_socket.c,v 1.21 1996/02/04 02:17:52 christos Exp $ */ /* @@ -571,18 +571,18 @@ sbsync(struct sockbuf *sb, struct mbuf *nextrecord) else sb->sb_mb = nextrecord; - /* - * Now update any dependent socket buffer fields to reflect - * the new state. This is an inline of SB_EMPTY_FIXUP, with - * the addition of a second clause that takes care of the - * case where sb_mb has been updated, but remains the last - * record. - */ - if (sb->sb_mb == NULL) { - sb->sb_mbtail = NULL; - sb->sb_lastrecord = NULL; - } else if (sb->sb_mb->m_nextpkt == NULL) - sb->sb_lastrecord = sb->sb_mb; + /* + * Now update any dependent socket buffer fields to reflect + * the new state. This is an inline of SB_EMPTY_FIXUP, with + * the addition of a second clause that takes care of the + * case where sb_mb has been updated, but remains the last + * record. + */ + if (sb->sb_mb == NULL) { + sb->sb_mbtail = NULL; + sb->sb_lastrecord = NULL; + } else if (sb->sb_mb->m_nextpkt == NULL) + sb->sb_lastrecord = sb->sb_mb; } /* |