006-12-01 Esteban Sanchez <estebans@artica.es>

* pandora_windows_service.cpp: Fixed a bug when copying the data file
        to server, which it didn't include the agent name if it was not
        defined in configuration file and was taken from Windows functions.

        * bin/PandoraAgent.exe: Updated to new commit.


git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@292 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
This commit is contained in:
esanchezm 2006-12-01 16:06:08 +00:00
parent 9afd959995
commit ce89120378
3 changed files with 11 additions and 0 deletions

View File

@ -1,3 +1,11 @@
2006-12-01 Esteban Sanchez <estebans@artica.es>
* pandora_windows_service.cpp: Fixed a bug when copying the data file
to server, which it didn't include the agent name if it was not
defined in configuration file and was taken from Windows functions.
* bin/PandoraAgent.exe: Updated to new commit.
2006-11-30 Raul Mateos <raulofpandora@gmail.com>
* bin/help/*: New directory and files with help for generating keys.

View File

@ -196,6 +196,9 @@ Pandora_Windows_Service::pandora_run () {
random_integer = inttostr (rand());
tmp_filename = conf->getValue ("agent_name");
if (tmp_filename == "") {
tmp_filename = Pandora_Windows_Info::getSystemName ();
}
tmp_filename += "." + random_integer + ".data";
xml_filename = conf->getValue ("temporal");