2011-09-15 Vanessa Gil <vanessa.gil@artica.es>

* win32/pandora_windows_service.cc: Fixed problem sending xml file.


git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4956 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
This commit is contained in:
vgilc 2011-09-15 15:30:13 +00:00
parent 9731f86ab6
commit 1d0b904818
2 changed files with 13 additions and 0 deletions

View File

@ -1,3 +1,7 @@
2011-09-15 Vanessa Gil <vanessa.gil@artica.es>
* win32/pandora_windows_service.cc: Fixed problem sending xml file.
2011-09-08 Vanessa Gil <vanessa.gil@artica.es> 2011-09-08 Vanessa Gil <vanessa.gil@artica.es>
* win32/bin/pandora_agent.conf: Added example about module preconditions. * win32/bin/pandora_agent.conf: Added example about module preconditions.

View File

@ -1424,6 +1424,15 @@ Pandora_Windows_Service::pandora_run_broker (string config) {
this->modules->goNext (); this->modules->goNext ();
} }
} }
this->elapsed_transfer_time += this->interval;
if (this->elapsed_transfer_time >= this->transfer_interval) {
this->elapsed_transfer_time = 0;
if (!server_addr.empty ()) {
this->sendXml (this->modules);
}
}
return; return;
} }