summaryrefslogtreecommitdiffstats
path: root/cpukit
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>1999-01-04 16:30:06 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>1999-01-04 16:30:06 +0000
commit88a090840228e689d70266f6f24e0911d6b1bf90 (patch)
tree887dee28c01d0187ffeff0164ffbb17a418a19b8 /cpukit
parentPatch from D. V. Henkel-Wallace <gumby@zembu.com> to make macro nest properly... (diff)
downloadrtems-88a090840228e689d70266f6f24e0911d6b1bf90.tar.bz2
Patch from D. V. Henkel-Wallace <gumby@zembu.com> to fix braces nesting problem.
Diffstat (limited to 'cpukit')
-rw-r--r--cpukit/libnetworking/netinet/tcp_input.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/cpukit/libnetworking/netinet/tcp_input.c b/cpukit/libnetworking/netinet/tcp_input.c
index bc55a79ae2..12e4dad03f 100644
--- a/cpukit/libnetworking/netinet/tcp_input.c
+++ b/cpukit/libnetworking/netinet/tcp_input.c
@@ -828,11 +828,12 @@ findpcb:
* we don't get fooled into using T/TCP.
*/
if (to.to_flag & TOF_CCECHO) {
- if (tp->cc_send != to.to_ccecho)
+ if (tp->cc_send != to.to_ccecho) {
if (taop->tao_ccsent != 0)
goto drop;
else
goto dropwithreset;
+ }
} else
tp->t_flags &= ~TF_RCVD_CC;
tcpstat.tcps_connects++;