mirror of
https://github.com/znc/znc.git
synced 2026-08-07 17:33:34 +02:00
Update Csocket (I feel like half my commits start like this -.-)
DynamicSelectLoop had a bug causing it to always use the lower bound making it effectively useless. Now it's useful again :) git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@859 726aef4b-f618-498e-8847-2d620e286838
This commit is contained in:
@@ -28,7 +28,7 @@
|
||||
* EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
*
|
||||
*
|
||||
* $Revision: 1.175 $
|
||||
* $Revision: 1.176 $
|
||||
*/
|
||||
|
||||
// note to compile with win32 need to link to winsock2, using gcc its -lws2_32
|
||||
@@ -2132,8 +2132,9 @@ private:
|
||||
iTimeoutInSeconds = 0;
|
||||
else
|
||||
iTimeoutInSeconds -= iDiff;
|
||||
|
||||
iMinTimeout = std::min( iMinTimeout, iTimeoutInSeconds );
|
||||
}
|
||||
iMinTimeout = std::min( iMinTimeout, iTimeoutInSeconds );
|
||||
|
||||
const std::vector<CCron *> & vCrons = (*this)[a]->GetCrons();
|
||||
for( u_long b = 0; b < vCrons.size(); b++ )
|
||||
|
||||
Reference in New Issue
Block a user