diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 2003-02-03 21:22:10 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 2003-02-03 21:22:10 +0000 |
commit | da217bbcade665f70aa6fb149e7f7434657e978d (patch) | |
tree | 1117fccb76392035bcd8c74ce71dd1e5414e76f8 /sys/kern | |
parent | 951966500a495fba5e231c84c031638012b156e9 (diff) |
knf
Diffstat (limited to 'sys/kern')
-rw-r--r-- | sys/kern/uipc_socket.c | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/sys/kern/uipc_socket.c b/sys/kern/uipc_socket.c index 9b5c5bf7624..bd8af678910 100644 --- a/sys/kern/uipc_socket.c +++ b/sys/kern/uipc_socket.c @@ -1,4 +1,4 @@ -/* $OpenBSD: uipc_socket.c,v 1.48 2002/11/27 19:39:15 millert Exp $ */ +/* $OpenBSD: uipc_socket.c,v 1.49 2003/02/03 21:22:09 deraadt Exp $ */ /* $NetBSD: uipc_socket.c,v 1.21 1996/02/04 02:17:52 christos Exp $ */ /* @@ -462,14 +462,14 @@ restart: mp = ⊤ space -= clen; do { - if (uio == NULL) { - /* - * Data is prepackaged in "top". - */ - resid = 0; - if (flags & MSG_EOR) - top->m_flags |= M_EOR; - } else do { + if (uio == NULL) { + /* + * Data is prepackaged in "top". + */ + resid = 0; + if (flags & MSG_EOR) + top->m_flags |= M_EOR; + } else do { if (top == 0) { MGETHDR(m, M_WAIT, MT_DATA); mlen = MHLEN; |