From 1eea042bdf1d16d9f6818ee6fb49dca72ddc4d13 Mon Sep 17 00:00:00 2001 From: TangoCash Date: Thu, 15 Jun 2017 21:09:28 +0200 Subject: [PATCH] supplemental to 20c1a160bcb7d72f1f3ff27f18eba76291b8e0e5 Origin commit data ------------------ Commit: https://github.com/neutrino-images/ni-neutrino/commit/5256a11e66e833eef00eebce16171ad0b0c5a5c2 Author: TangoCash Date: 2017-06-15 (Thu, 15 Jun 2017) --- src/nhttpd/tuxboxapi/neutrinoapi.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/nhttpd/tuxboxapi/neutrinoapi.cpp b/src/nhttpd/tuxboxapi/neutrinoapi.cpp index 1e3eeeef8..e067a7f4a 100644 --- a/src/nhttpd/tuxboxapi/neutrinoapi.cpp +++ b/src/nhttpd/tuxboxapi/neutrinoapi.cpp @@ -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://";