mirror of
https://github.com/pandorafms/pandorafms.git
synced 2025-07-27 15:54:29 +02:00
2007-09-06 Esteban Sanchez <estebans@artica.es>
* pandora_windows_service.cc: Date is now filled with zeros to the left and two digits. * bin/PandoraAgent.exe: Updated to last commmit. git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@645 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
This commit is contained in:
parent
80891a4a0e
commit
df02ca7416
@ -1,3 +1,10 @@
|
|||||||
|
2007-09-06 Esteban Sanchez <estebans@artica.es>
|
||||||
|
|
||||||
|
* pandora_windows_service.cc: Date is now filled with zeros to the
|
||||||
|
left and two digits.
|
||||||
|
|
||||||
|
* bin/PandoraAgent.exe: Updated to last commmit.
|
||||||
|
|
||||||
2007-09-05 Raul Mateos <raulofpandora@gmail.com>
|
2007-09-05 Raul Mateos <raulofpandora@gmail.com>
|
||||||
|
|
||||||
* installer/Pandora_Windows_Agent-1.3.0 Beta2-Setup.exe: Updated
|
* installer/Pandora_Windows_Agent-1.3.0 Beta2-Setup.exe: Updated
|
||||||
|
Binary file not shown.
@ -143,8 +143,9 @@ Pandora_Windows_Service::getXmlHeader () {
|
|||||||
agent->SetAttribute ("version", getPandoraAgentVersion ());
|
agent->SetAttribute ("version", getPandoraAgentVersion ());
|
||||||
|
|
||||||
GetSystemTime(&st);
|
GetSystemTime(&st);
|
||||||
sprintf (timestamp, "%d-%d-%d %d:%d:%d", st.wYear, st.wMonth, st.wDay,
|
sprintf (timestamp, "%d-%02d-%02d %02d:%02d:%02d", st.wYear, st.wMonth, st.wDay,
|
||||||
st.wHour, st.wMinute, st.wSecond);
|
st.wHour, st.wMinute, st.wSecond);
|
||||||
|
|
||||||
agent->SetAttribute ("timestamp", timestamp);
|
agent->SetAttribute ("timestamp", timestamp);
|
||||||
|
|
||||||
value = conf->getValue ("interval");
|
value = conf->getValue ("interval");
|
||||||
|
Loading…
x
Reference in New Issue
Block a user