From 6de323042e07736063ba5278dd108486d8da331d Mon Sep 17 00:00:00 2001 From: slerena Date: Wed, 28 Jan 2009 18:13:25 +0000 Subject: [PATCH] 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. git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1408 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f --- pandora_server/ChangeLog | 6 ++++++ pandora_server/bin/pandora_server | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) 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;