diff --git a/pandora_agents/win32/ChangeLog b/pandora_agents/win32/ChangeLog index ed01eb3123..7ccfcd503a 100644 --- a/pandora_agents/win32/ChangeLog +++ b/pandora_agents/win32/ChangeLog @@ -1,3 +1,10 @@ +2009-04-13 Esteban Sanchez + + * modules/pandora_module_odbc.cc: Fixed log message when no username + was found. + + * modules/pandora_module_factory.cc: Removed duplicated assignment. + 2009-04-02 Ramon Novoa * modules/pandora_module_proc.cc, diff --git a/pandora_agents/win32/modules/pandora_module_factory.cc b/pandora_agents/win32/modules/pandora_module_factory.cc index 09242bd0ca..a29cabe05f 100644 --- a/pandora_agents/win32/modules/pandora_module_factory.cc +++ b/pandora_agents/win32/modules/pandora_module_factory.cc @@ -117,7 +117,6 @@ Pandora_Module_Factory::getModuleFromDefinition (string definition) { module_service = ""; module_odbc = ""; module_odbc_query = ""; - module_odbc = ""; module_logevent = ""; module_source = ""; module_eventtype = ""; diff --git a/pandora_agents/win32/modules/pandora_module_odbc.cc b/pandora_agents/win32/modules/pandora_module_odbc.cc index 086d303f56..33cdffdfe7 100755 --- a/pandora_agents/win32/modules/pandora_module_odbc.cc +++ b/pandora_agents/win32/modules/pandora_module_odbc.cc @@ -190,7 +190,7 @@ Pandora_Module_Odbc::run () { if (this->username == "") { pandoraLog ("Error on module ODBC '%s': No username to connect to DSN %s. " - "Add %s_username parameter to configuration file", + "Add odbc_%s_username parameter to configuration file", this->module_name.c_str (), this->dsn.c_str (), this->dsn.c_str ()); return; }