From be9b8d73ab52d350a2d0f7ebce0736a530f80fb0 Mon Sep 17 00:00:00 2001 From: ramonn Date: Wed, 2 Mar 2011 10:41:29 +0000 Subject: [PATCH] 2011-03-02 Ramon Novoa * win32/modules/pandora_module_factory.cc, unix/pandora_agent: Changed module_post_process to module_postprocess to match the documentation. git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4044 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f --- pandora_agents/ChangeLog | 5 +++++ pandora_agents/unix/pandora_agent | 2 +- pandora_agents/win32/modules/pandora_module_factory.cc | 2 +- 3 files changed, 7 insertions(+), 2 deletions(-) diff --git a/pandora_agents/ChangeLog b/pandora_agents/ChangeLog index 9236d28cb0..cb99fce15a 100644 --- a/pandora_agents/ChangeLog +++ b/pandora_agents/ChangeLog @@ -1,3 +1,8 @@ +2011-03-02 Ramon Novoa + + * win32/modules/pandora_module_factory.cc, unix/pandora_agent: Changed + module_post_process to module_postprocess to match the documentation. + 2011-03-01 Ramon Novoa * win32/modules/pandora_module.h, diff --git a/pandora_agents/unix/pandora_agent b/pandora_agents/unix/pandora_agent index a076a0f406..64b5486a5b 100755 --- a/pandora_agents/unix/pandora_agent +++ b/pandora_agents/unix/pandora_agent @@ -357,7 +357,7 @@ sub read_config (;$) { $module->{'max'} = $1; } elsif ($line =~ /^\s*module_min\s+(.*)\s*$/) { $module->{'min'} = $1; - } elsif ($line =~ /^\s*module_post_process\s+(.*)\s*$/) { + } elsif ($line =~ /^\s*module_postprocess\s+(.*)\s*$/) { $module->{'post_process'} = $1; } elsif ($line =~ /^\s*module_interval\s+(\d+)\s*$/) { $module->{'interval'} = $1; diff --git a/pandora_agents/win32/modules/pandora_module_factory.cc b/pandora_agents/win32/modules/pandora_module_factory.cc index 5229e5b43a..4bf74c90d0 100644 --- a/pandora_agents/win32/modules/pandora_module_factory.cc +++ b/pandora_agents/win32/modules/pandora_module_factory.cc @@ -58,7 +58,7 @@ using namespace Pandora_Strutils; #define TOKEN_ODBC ("module_odbc ") #define TOKEN_MAX ("module_max ") #define TOKEN_MIN ("module_min ") -#define TOKEN_POST_PROCESS ("module_post_process ") +#define TOKEN_POST_PROCESS ("module_postprocess ") #define TOKEN_DESCRIPTION ("module_description ") #define TOKEN_ODBC_QUERY ("module_odbc_query ") #define TOKEN_LOGEVENT ("module_logevent")