fix bug printing status of unprocessed records

This commit is contained in:
2018-03-20 17:07:05 +01:00
parent 0d5ababe55
commit 943787bc0c

View File

@ -139,6 +139,7 @@ StreamCore()
StreamCore** pstream;
for (pstream = &first; *pstream; pstream = &(*pstream)->next);
*pstream = this;
activeCommand = NULL;
}
StreamCore::
@ -1760,7 +1761,7 @@ void StreamCore::
printStatus(StreamBuffer& buffer)
{
buffer.print("active command=%s ",
activeCommand ? commandName(*activeCommand) : "NULL");
activeCommand ? commandName(*activeCommand) : "none");
buffer.print("flags=0x%04lx ", flags);
if (flags & IgnoreExtraInput) buffer.append("IgnoreExtraInput ");
if (flags & InitRun) buffer.append("InitRun ");