summaryrefslogtreecommitdiffstats
path: root/sys/netinet/tcp_input.c
diff options
context:
space:
mode:
authorguido <guido@FreeBSD.org>1998-05-18 17:07:58 +0000
committerguido <guido@FreeBSD.org>1998-05-18 17:07:58 +0000
commit636533efef7734a5ccf992ce439aff0e28f48227 (patch)
tree096302aeb2de96b70d06bc94498262c909b65c52 /sys/netinet/tcp_input.c
parent09b90b62ab061fa54e90579d2e418c5fe155b2c7 (diff)
downloadFreeBSD-src-636533efef7734a5ccf992ce439aff0e28f48227.zip
FreeBSD-src-636533efef7734a5ccf992ce439aff0e28f48227.tar.gz
Add some parenthesis for clarity and fix a bug
Pointed out by: Garrett Wollmand
Diffstat (limited to 'sys/netinet/tcp_input.c')
-rw-r--r--sys/netinet/tcp_input.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/netinet/tcp_input.c b/sys/netinet/tcp_input.c
index 2519ac3..578b109 100644
--- a/sys/netinet/tcp_input.c
+++ b/sys/netinet/tcp_input.c
@@ -31,7 +31,7 @@
* SUCH DAMAGE.
*
* @(#)tcp_input.c 8.12 (Berkeley) 5/24/95
- * $Id: tcp_input.c,v 1.74 1998/04/24 10:08:57 dg Exp $
+ * $Id: tcp_input.c,v 1.75 1998/05/04 17:59:52 guido Exp $
*/
#include "opt_tcpdebug.h"
@@ -680,7 +680,7 @@ findpcb:
* - otherwise do a normal 3-way handshake.
*/
if ((to.to_flag & TOF_CC) != 0) {
- if (tp->t_state & TF_NOPUSH &&
+ if (((tp->t_state & TF_NOPUSH) != 0) &&
taop->tao_cc != 0 && CC_GT(to.to_cc, taop->tao_cc)) {
taop->tao_cc = to.to_cc;
OpenPOWER on IntegriCloud