diff options
| author | Steve Price <steve@FreeBSD.org> | 1998-01-25 17:25:41 +0000 |
|---|---|---|
| committer | Steve Price <steve@FreeBSD.org> | 1998-01-25 17:25:41 +0000 |
| commit | 694ad0a9b17e1995d371a1304882d50e54b82110 (patch) | |
| tree | 20e1ecddd821344dd88a694ceb051c06a18c17a8 | |
| parent | 31e6b13443b95c3b43183e106057be814d406780 (diff) | |
Notes
| -rw-r--r-- | sys/kern/tty_compat.c | 6 | ||||
| -rw-r--r-- | sys/netinet/udp_usrreq.c | 4 |
2 files changed, 5 insertions, 5 deletions
diff --git a/sys/kern/tty_compat.c b/sys/kern/tty_compat.c index 13c267d6f877..315d275ea2d1 100644 --- a/sys/kern/tty_compat.c +++ b/sys/kern/tty_compat.c @@ -31,7 +31,7 @@ * SUCH DAMAGE. * * @(#)tty_compat.c 8.1 (Berkeley) 6/10/93 - * $Id: tty_compat.c,v 1.24 1997/12/06 13:23:58 bde Exp $ + * $Id: tty_compat.c,v 1.25 1997/12/16 17:40:26 eivind Exp $ */ #include "opt_compat.h" @@ -302,12 +302,12 @@ ttcompatgetflags(tp) if ((lflag&ICANON) == 0) { /* fudge */ if (iflag&(INPCK|ISTRIP|IXON) || lflag&(IEXTEN|ISIG) - || cflag&(CSIZE|PARENB) != CS8) + || (cflag&(CSIZE|PARENB)) != CS8) flags |= CBREAK; else flags |= RAW; } - if (!(flags&RAW) && !(oflag&OPOST) && cflag&(CSIZE|PARENB) == CS8) + if (!(flags&RAW) && !(oflag&OPOST) && (cflag&(CSIZE|PARENB)) == CS8) flags |= LITOUT; if (cflag&MDMBUF) flags |= MDMBUF; diff --git a/sys/netinet/udp_usrreq.c b/sys/netinet/udp_usrreq.c index 6bd21db32195..91981c1df295 100644 --- a/sys/netinet/udp_usrreq.c +++ b/sys/netinet/udp_usrreq.c @@ -31,7 +31,7 @@ * SUCH DAMAGE. * * @(#)udp_usrreq.c 8.6 (Berkeley) 5/23/95 - * $Id: udp_usrreq.c,v 1.41 1997/10/28 15:58:54 bde Exp $ + * $Id: udp_usrreq.c,v 1.42 1997/12/19 23:46:21 bde Exp $ */ #include <sys/param.h> @@ -246,7 +246,7 @@ udp_input(m, iphlen) * port. It * assumes that an application will never * clear these options after setting them. */ - if ((last->inp_socket->so_options&(SO_REUSEPORT|SO_REUSEADDR) == 0)) + if ((last->inp_socket->so_options&(SO_REUSEPORT|SO_REUSEADDR)) == 0) break; } |
