From ff0f694d466fb114c185bf464811658f97d012f1 Mon Sep 17 00:00:00 2001 From: Joel Sherrill Date: Thu, 20 Aug 1998 21:47:37 +0000 Subject: Fixed many warnings. --- c/src/libnetworking/kern/uipc_socket.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'c/src/libnetworking/kern/uipc_socket.c') diff --git a/c/src/libnetworking/kern/uipc_socket.c b/c/src/libnetworking/kern/uipc_socket.c index 0933fea50a..895d1c7d45 100644 --- a/c/src/libnetworking/kern/uipc_socket.c +++ b/c/src/libnetworking/kern/uipc_socket.c @@ -350,7 +350,7 @@ sosend(so, addr, uio, top, control, flags) * Also check to make sure that MSG_EOR isn't used on SOCK_STREAM * type sockets since that's an error. */ - if (resid < 0 || so->so_type == SOCK_STREAM && (flags & MSG_EOR)) { + if ((resid < 0) || (so->so_type == SOCK_STREAM && (flags & MSG_EOR))) { error = EINVAL; goto out; } -- cgit v1.2.3