2009-01-28 Sancho Lerena <slerena@artica.es>

* bin/pandora_server: Fixed a typo in call to pandora_writestate() who
	makes server exiting with "Can't call method 'prepare'". That affects only
	to keepalive modules. Thanks to Esben for reporting.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1408 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
This commit is contained in:
slerena 2009-01-28 18:13:25 +00:00
parent 9cc35c6e04
commit 6de323042e
2 changed files with 7 additions and 1 deletions

View File

@ -1,3 +1,9 @@
2009-01-28 Sancho Lerena <slerena@artica.es>
* bin/pandora_server: Fixed a typo in call to pandora_writestate() who
makes server exiting with "Can't call method 'prepare'". That affects only
to keepalive modules. Thanks to Esben for reporting.
2009-01-26 Sancho Lerena <slerena@artica.es>
* DB.pm: Fixed NOT behaviour of alerts, now works as supposed to do.

View File

@ -310,7 +310,7 @@ sub keep_alive_check {
$id_agent = $data->{'id_agente'};
$agent_name = $data->{'agentname'};
$module_name = $data->{'modulename'};
pandora_writestate ($pa_config, $agent_name, "keep_alive", $module_name, 0, 1, $dbh, 1);
pandora_writestate ($pa_config, $agent_name, "keep_alive", $module_name, 0, $dbh, 1);
}
}
undef $data;