supplemental to 7031e99573

This commit is contained in:
TangoCash
2017-06-15 21:09:28 +02:00
parent f0891cb76f
commit 5256a11e66

View File

@@ -556,14 +556,13 @@ void CNeutrinoAPI::SendAllTimers(std::string url, bool force)
timerlist.clear();
Timerd->getTimerList(timerlist);
sort(timerlist.begin(), timerlist.end());
CTimerd::TimerList::iterator timer = timerlist.begin();
int pre,post;
Timerd->getRecordingSafety(pre,post);
CHTTPTool httpTool;
std::string r_url;
for(int i = 0; timer != timerlist.end(); ++timer)
for(CTimerd::TimerList::iterator timer = timerlist.begin(); timer != timerlist.end(); ++timer)
{
if (timer->eventType == CTimerd::TIMER_RECORD) {
r_url = "http://";