From 13758eb08e044c525ec61f2090c3b832bba21e81 Mon Sep 17 00:00:00 2001 From: zimoch Date: Thu, 13 Oct 2011 15:37:28 +0000 Subject: [PATCH] bugfix: too high array index --- src/StreamProtocol.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/StreamProtocol.cc b/src/StreamProtocol.cc index e304381..dedbdb7 100644 --- a/src/StreamProtocol.cc +++ b/src/StreamProtocol.cc @@ -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]);