2006-12-05 Esteban Sanchez <estebans@artica.es>
* pandora_windows_service.cc: Fixed a bug when the agent name is not configured and should be getted from the system. * bin/PandoraAgent.exe: Updated to last commit. git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@309 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
This commit is contained in:
parent
c5bae05311
commit
871e7e5935
|
@ -1,3 +1,10 @@
|
||||||
|
2006-12-05 Esteban Sanchez <estebans@artica.es>
|
||||||
|
|
||||||
|
* pandora_windows_service.cc: Fixed a bug when the agent name is not
|
||||||
|
configured and should be getted from the system.
|
||||||
|
|
||||||
|
* bin/PandoraAgent.exe: Updated to last commit.
|
||||||
|
|
||||||
2006-12-05 Raul Mateos <raulofpandora@gmail.com>
|
2006-12-05 Raul Mateos <raulofpandora@gmail.com>
|
||||||
|
|
||||||
* installer/Pandora_Windows_Agent-1.2.0-Setup.exe: Updated installer.
|
* installer/Pandora_Windows_Agent-1.2.0-Setup.exe: Updated installer.
|
||||||
|
|
Binary file not shown.
|
@ -132,10 +132,10 @@ Pandora_Windows_Service::getXmlHeader () {
|
||||||
agent = new TiXmlElement ("agent_data");
|
agent = new TiXmlElement ("agent_data");
|
||||||
|
|
||||||
value = conf->getValue ("agent_name");
|
value = conf->getValue ("agent_name");
|
||||||
agent->SetAttribute ("agent_name", value);
|
|
||||||
if (value == "") {
|
if (value == "") {
|
||||||
value = Pandora_Windows_Info::getSystemName ();
|
value = Pandora_Windows_Info::getSystemName ();
|
||||||
}
|
}
|
||||||
|
agent->SetAttribute ("agent_name", value);
|
||||||
|
|
||||||
agent->SetAttribute ("version", getPandoraAgentVersion ());
|
agent->SetAttribute ("version", getPandoraAgentVersion ());
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue