diff --git a/pandora_server/ChangeLog b/pandora_server/ChangeLog index d1517bb81a..9dceefb75d 100644 --- a/pandora_server/ChangeLog +++ b/pandora_server/ChangeLog @@ -1,3 +1,9 @@ +2009-01-28 Sancho Lerena + + * 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 * DB.pm: Fixed NOT behaviour of alerts, now works as supposed to do. diff --git a/pandora_server/bin/pandora_server b/pandora_server/bin/pandora_server index dd7d20fcdf..0074de804a 100755 --- a/pandora_server/bin/pandora_server +++ b/pandora_server/bin/pandora_server @@ -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;