From 6bea6edec13a3cb9cafbbb42ed4209a741b1d5eb Mon Sep 17 00:00:00 2001 From: Victor Julien Date: Fri, 13 Oct 2017 11:33:26 +0200 Subject: [PATCH] stream: minor debug addition --- src/stream-tcp-reassemble.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/stream-tcp-reassemble.c b/src/stream-tcp-reassemble.c index 4665a9b1a3..2128cf54f7 100644 --- a/src/stream-tcp-reassemble.c +++ b/src/stream-tcp-reassemble.c @@ -1533,8 +1533,10 @@ static int StreamReassembleRawDo(TcpSession *ssn, TcpStream *stream, uint64_t mydata_offset = 0; GetRawBuffer(stream, &mydata, &mydata_len, &iter, progress, &mydata_offset); - if (mydata_len == 0) + if (mydata_len == 0) { + SCLogDebug("no data"); break; + } //PrintRawDataFp(stdout, mydata, mydata_len); SCLogDebug("raw progress %"PRIu64, progress);