summaryrefslogtreecommitdiffstats
path: root/sys/kern/uipc_socket2.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/kern/uipc_socket2.c')
-rw-r--r--sys/kern/uipc_socket2.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/sys/kern/uipc_socket2.c b/sys/kern/uipc_socket2.c
index 2da7643..3f7d082 100644
--- a/sys/kern/uipc_socket2.c
+++ b/sys/kern/uipc_socket2.c
@@ -31,7 +31,7 @@
* SUCH DAMAGE.
*
* @(#)uipc_socket2.c 8.1 (Berkeley) 6/10/93
- * $Id: uipc_socket2.c,v 1.3 1994/08/02 07:43:08 davidg Exp $
+ * $Id: uipc_socket2.c,v 1.4 1994/10/02 17:35:33 phk Exp $
*/
#include <sys/param.h>
@@ -79,7 +79,7 @@ u_long sb_max = SB_MAX; /* patchable */
* structure queued on so_q0 by calling sonewconn(). When the connection
* is established, soisconnected() is called, and transfers the
* socket structure to so_q, making it available to accept().
- *
+ *
* If a socket is closed with sockets on either
* so_q0 or so_q, these sockets are dropped.
*
@@ -162,7 +162,7 @@ sonewconn1(head, connstatus)
if (head->so_qlen + head->so_q0len > 3 * head->so_qlimit / 2)
return ((struct socket *)0);
MALLOC(so, struct socket *, sizeof(*so), M_SOCKET, M_DONTWAIT);
- if (so == NULL)
+ if (so == NULL)
return ((struct socket *)0);
bzero((caddr_t)so, sizeof(*so));
so->so_type = head->so_type;
@@ -281,7 +281,7 @@ sbwait(sb)
sb->sb_timeo));
}
-/*
+/*
* Lock a sockbuf already known to be locked;
* return any error returned from sleep (EINTR).
*/
@@ -293,7 +293,7 @@ sb_lock(sb)
while (sb->sb_flags & SB_LOCK) {
sb->sb_flags |= SB_WANT;
- error = tsleep((caddr_t)&sb->sb_flags,
+ error = tsleep((caddr_t)&sb->sb_flags,
(sb->sb_flags & SB_NOINTR) ? PSOCK : PSOCK|PCATCH,
netio, 0);
if (error)
OpenPOWER on IntegriCloud