From: Shivani Bhardwaj Date: Sat, 15 Mar 2025 09:42:03 +0000 (+0530) Subject: stream: fix minor typos X-Git-Tag: suricata-8.0.0-beta1~209 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=863c96f30dc4ec852997aa02b98bd84ade6f5281;p=thirdparty%2Fsuricata.git stream: fix minor typos --- diff --git a/src/stream-tcp-reassemble.c b/src/stream-tcp-reassemble.c index 3526245639..c36ab3fe27 100644 --- a/src/stream-tcp-reassemble.c +++ b/src/stream-tcp-reassemble.c @@ -641,7 +641,7 @@ bool StreamTcpReassembleDepthReached(Packet *p) /** * \internal - * \brief Function to Check the reassembly depth valuer against the + * \brief Function to check the reassembly depth value against the * allowed max depth of the stream reassembly for TCP streams. * * \param stream stream direction @@ -679,7 +679,7 @@ static uint32_t StreamTcpReassembleCheckDepth(TcpSession *ssn, TcpStream *stream seg_depth = STREAM_BASE_OFFSET(stream) + ((seq + size) - stream->base_seq); } - /* if the base_seq has moved passed the depth window we stop + /* if the base_seq has moved past the depth window we stop * checking and just reject the rest of the packets including * retransmissions. Saves us the hassle of dealing with sequence * wraps as well */ @@ -734,7 +734,7 @@ uint32_t StreamDataAvailableForProtoDetect(TcpStream *stream) } /** - * \brief Insert a packets TCP data into the stream reassembly engine. + * \brief Insert a TCP packet data into the stream reassembly engine. * * \retval 0 good segment, as far as we checked. * \retval -1 insert failure due to memcap