mirror of
https://github.com/rsyslog/rsyslog.git
synced 2025-12-16 12:10:46 +01:00
stream handling: better debug error assertion
This commit is contained in:
parent
7fc4c57685
commit
5088a1d3bf
@ -493,9 +493,10 @@ strmNextFile(strm_t *pThis)
|
||||
{
|
||||
DEFiRet;
|
||||
|
||||
ASSERT(pThis != NULL);
|
||||
ASSERT(pThis->iMaxFiles != 0);
|
||||
ASSERT(pThis->fd != -1);
|
||||
assert(pThis != NULL);
|
||||
assert(pThis->sType == STREAMTYPE_FILE_CIRCULAR);
|
||||
assert(pThis->iMaxFiles != 0);
|
||||
assert(pThis->fd != -1);
|
||||
|
||||
CHKiRet(strmCloseFile(pThis));
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user