From 08f94c1d0b9f48aafaef0ec04baf5fcf771a3c9c Mon Sep 17 00:00:00 2001 From: ps Date: Fri, 25 Jun 2004 04:11:26 +0000 Subject: [PATCH] White space & spelling fixes Submitted by: Xin LI --- sys/netinet/tcp_input.c | 6 +++--- sys/netinet/tcp_reass.c | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/sys/netinet/tcp_input.c b/sys/netinet/tcp_input.c index bc28ab1be57..5b373270473 100644 --- a/sys/netinet/tcp_input.c +++ b/sys/netinet/tcp_input.c @@ -1057,7 +1057,7 @@ tcp_input(m, off0) * for incoming connections is handled in tcp_syncache. * XXX this is traditional behavior, may need to be cleaned up. */ - tcp_dooptions(tp,&to, optp, optlen, thflags & TH_SYN,th); + tcp_dooptions(tp, &to, optp, optlen, thflags & TH_SYN, th); if (thflags & TH_SYN) { if (to.to_flags & TOF_SCALE) { tp->t_flags |= TF_RCVD_SCALE; @@ -1084,7 +1084,7 @@ tcp_input(m, off0) if (tp->sack_enable) { /* Delete stale (cumulatively acked) SACK holes */ tcp_del_sackholes(tp, th); - tp->rcv_laststart = th->th_seq; /* last rec'vd segment*/ + tp->rcv_laststart = th->th_seq; /* last recv'd segment*/ tp->rcv_lastend = th->th_seq + tlen; } @@ -2579,7 +2579,7 @@ static void tcp_dooptions(tp, to, cp, cnt, is_syn, th) struct tcpcb *tp; struct tcpopt *to; - u_char *cp; + u_char *cp; int cnt; int is_syn; struct tcphdr *th; diff --git a/sys/netinet/tcp_reass.c b/sys/netinet/tcp_reass.c index bc28ab1be57..5b373270473 100644 --- a/sys/netinet/tcp_reass.c +++ b/sys/netinet/tcp_reass.c @@ -1057,7 +1057,7 @@ tcp_input(m, off0) * for incoming connections is handled in tcp_syncache. * XXX this is traditional behavior, may need to be cleaned up. */ - tcp_dooptions(tp,&to, optp, optlen, thflags & TH_SYN,th); + tcp_dooptions(tp, &to, optp, optlen, thflags & TH_SYN, th); if (thflags & TH_SYN) { if (to.to_flags & TOF_SCALE) { tp->t_flags |= TF_RCVD_SCALE; @@ -1084,7 +1084,7 @@ tcp_input(m, off0) if (tp->sack_enable) { /* Delete stale (cumulatively acked) SACK holes */ tcp_del_sackholes(tp, th); - tp->rcv_laststart = th->th_seq; /* last rec'vd segment*/ + tp->rcv_laststart = th->th_seq; /* last recv'd segment*/ tp->rcv_lastend = th->th_seq + tlen; } @@ -2579,7 +2579,7 @@ static void tcp_dooptions(tp, to, cp, cnt, is_syn, th) struct tcpcb *tp; struct tcpopt *to; - u_char *cp; + u_char *cp; int cnt; int is_syn; struct tcphdr *th; -- 2.45.2