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(); timerlist.clear();
Timerd->getTimerList(timerlist); Timerd->getTimerList(timerlist);
sort(timerlist.begin(), timerlist.end()); sort(timerlist.begin(), timerlist.end());
CTimerd::TimerList::iterator timer = timerlist.begin();
int pre,post; int pre,post;
Timerd->getRecordingSafety(pre,post); Timerd->getRecordingSafety(pre,post);
CHTTPTool httpTool; CHTTPTool httpTool;
std::string r_url; 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) { if (timer->eventType == CTimerd::TIMER_RECORD) {
r_url = "http://"; r_url = "http://";