2012-11-20 Sergio Martin <sergio.martin@artica.es>

* modules/pandora_module_factory.cc: Fix a few
	variable declaration bugs



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7163 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
This commit is contained in:
zarzuelo 2012-11-20 09:26:04 +00:00
parent 8c80cf54ea
commit c781b536d8
2 changed files with 8 additions and 0 deletions

View File

@ -1,3 +1,8 @@
2012-11-20 Sergio Martin <sergio.martin@artica.es>
* modules/pandora_module_factory.cc: Fix a few
variable declaration bugs
2012-11-20 Sergio Martin <sergio.martin@artica.es>
* modules/pandora_module_factory.cc: Added macros

View File

@ -173,11 +173,13 @@ Pandora_Module_Factory::getModuleFromDefinition (string definition) {
string module_unit, module_group, module_custom_id, module_str_warning, module_str_critical;
string module_critical_instructions, module_warning_instructions, module_unknown_instructions, module_tags;
string module_critical_inverse, module_warning_inverse, module_quiet, module_ff_interval;
string macro;
Pandora_Module *module;
bool numeric;
Module_Type type;
long agent_interval;
list<string> macro_list;
list<string>::iterator macro_iter;
list<string> condition_list, precondition_list, intensive_condition_list;
list<string>::iterator condition_iter, precondition_iter, intensive_condition_iter;
Pandora_Windows_Service *service = NULL;
@ -250,6 +252,7 @@ Pandora_Module_Factory::getModuleFromDefinition (string definition) {
module_warning_inverse = "";
module_quiet = "";
module_ff_interval = "";
macro = "";
stringtok (tokens, definition, "\n");