diff --git a/sectionfilter.c b/sectionfilter.c index 6b3ae00..395b7a9 100644 --- a/sectionfilter.c +++ b/sectionfilter.c @@ -220,9 +220,9 @@ bool cSatipSectionFilter::Send(void) ERROR_IF(len < 0 && errno != EAGAIN, "send()"); if (len > 0) { ringBufferM->Drop(section); + result = !!ringBufferM->Available(); // Update statistics AddSectionStatistic(len, 1); - result = true; } } }