bugfix: too high array index

This commit is contained in:
zimoch
2011-10-13 15:37:28 +00:00
parent b9c26cb6f8
commit 13758eb08e

View File

@ -742,7 +742,7 @@ Protocol(const Protocol& p, StreamBuffer& name, int _line)
int i;
const char* nextparameter;
parameter[0] = protocolname();
for (i = 0; i < 10; i++)
for (i = 0; i < 9; i++)
{
debug("StreamProtocolParser::Protocol::Protocol $%d=\"%s\"\n",
i, parameter[i]);