Bugfix: Incorrect array index in ACKNOWLEDGE_HOST_PROBLEM command.

This commit is contained in:
Gunnar Beutner 2013-02-09 02:01:48 +01:00
parent 4fcda6699f
commit 0faffeb873
1 changed files with 1 additions and 1 deletions

View File

@ -320,7 +320,7 @@ void ExternalCommandProcessor::AcknowledgeHostProblem(double, const vector<Strin
if (arguments.size() < 6)
BOOST_THROW_EXCEPTION(invalid_argument("Expected 6 arguments."));
bool sticky = Convert::ToBool(arguments[0]);
bool sticky = Convert::ToBool(arguments[1]);
Host::Ptr host = Host::GetByName(arguments[0]);