This is an automated email from the ASF dual-hosted git repository. xiaoxiang pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/incubator-nuttx.git
commit 390f766b368533798519d949ecd90a1d105e8b19 Author: YAMAMOTO Takashi <yamam...@midokura.com> AuthorDate: Wed Nov 25 19:45:02 2020 +0900 net/tcp/tcp_appsend.c: Appease nxstyle --- net/tcp/tcp_appsend.c | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/net/tcp/tcp_appsend.c b/net/tcp/tcp_appsend.c index b545732..f61da7e 100644 --- a/net/tcp/tcp_appsend.c +++ b/net/tcp/tcp_appsend.c @@ -223,10 +223,10 @@ void tcp_appsend(FAR struct net_driver_s *dev, FAR struct tcp_conn_s *conn, if (dev->d_sndlen > 0) { /* Remember how much data we send out now so that we know - * when everything has been acknowledged. Just increment the amount - * of data sent. This will be needed in sequence number calculations - * and we know that this is not a re-transmission. Retransmissions - * do not go through this path. + * when everything has been acknowledged. Just increment the + * amount of data sent. This will be needed in sequence number + * calculations and we know that this is not a re-transmission. + * Retransmissions do not go through this path. */ conn->tx_unacked += dev->d_sndlen; @@ -315,7 +315,9 @@ void tcp_rexmit(FAR struct net_driver_s *dev, FAR struct tcp_conn_s *conn, tcp_send(dev, conn, TCP_ACK | TCP_PSH, dev->d_sndlen + hdrlen); } - /* If there is no data to send, just send out a pure ACK if one is requested`. */ + /* If there is no data to send, just send out a pure ACK if one is + * requested. + */ else if ((result & TCP_SNDACK) != 0) {