mirror of
https://github.com/pandorafms/pandorafms.git
synced 2025-07-28 16:24:54 +02:00
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:
parent
9afd959995
commit
ce89120378
@ -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>
|
2006-11-30 Raul Mateos <raulofpandora@gmail.com>
|
||||||
|
|
||||||
* bin/help/*: New directory and files with help for generating keys.
|
* bin/help/*: New directory and files with help for generating keys.
|
||||||
|
Binary file not shown.
@ -196,6 +196,9 @@ Pandora_Windows_Service::pandora_run () {
|
|||||||
|
|
||||||
random_integer = inttostr (rand());
|
random_integer = inttostr (rand());
|
||||||
tmp_filename = conf->getValue ("agent_name");
|
tmp_filename = conf->getValue ("agent_name");
|
||||||
|
if (tmp_filename == "") {
|
||||||
|
tmp_filename = Pandora_Windows_Info::getSystemName ();
|
||||||
|
}
|
||||||
tmp_filename += "." + random_integer + ".data";
|
tmp_filename += "." + random_integer + ".data";
|
||||||
|
|
||||||
xml_filename = conf->getValue ("temporal");
|
xml_filename = conf->getValue ("temporal");
|
||||||
|
Loading…
x
Reference in New Issue
Block a user