supplemental to 20c1a160bc

Origin commit data
------------------
Commit: 5256a11e66
Author: TangoCash <eric@loxat.de>
Date: 2017-06-15 (Thu, 15 Jun 2017)
This commit is contained in:
TangoCash
2017-06-15 21:09:28 +02:00
parent a017c679dc
commit 1eea042bdf

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://";