diff options
author | Joel Sherrill <joel.sherrill@OARcorp.com> | 1998-08-20 21:47:37 +0000 |
---|---|---|
committer | Joel Sherrill <joel.sherrill@OARcorp.com> | 1998-08-20 21:47:37 +0000 |
commit | ff0f694d466fb114c185bf464811658f97d012f1 (patch) | |
tree | 1eef0becdabdf6a9902d265a84fc9bf9fd9389d5 /c/src/libnetworking/kern/uipc_socket.c | |
parent | changed version to 980820-BSD (diff) | |
download | rtems-ff0f694d466fb114c185bf464811658f97d012f1.tar.bz2 |
Fixed many warnings.
Diffstat (limited to 'c/src/libnetworking/kern/uipc_socket.c')
-rw-r--r-- | c/src/libnetworking/kern/uipc_socket.c | 2 |
1 files changed, 1 insertions, 1 deletions
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; } |