mirror of
https://github.com/znc/znc.git
synced 2026-07-06 18:01:21 +02:00
fixed bug in wrong iterator increment that causes infinite loop
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@1433 726aef4b-f618-498e-8847-2d620e286838
This commit is contained in:
@@ -2120,7 +2120,7 @@ private:
|
||||
const std::vector<CCron *> & vCrons = pSock->GetCrons();
|
||||
std::vector<CCron *>::const_iterator cit;
|
||||
std::vector<CCron *>::const_iterator cit_end = vCrons.end();
|
||||
for (cit = vCrons.begin(); cit != cit_end; it++)
|
||||
for (cit = vCrons.begin(); cit != cit_end; cit++)
|
||||
iNextRunTime = std::min( iNextRunTime, (*cit)->GetNextRun() );
|
||||
}
|
||||
std::vector<CCron *>::const_iterator cit;
|
||||
|
||||
Reference in New Issue
Block a user