X-Git-Url: https://git.pterodactylus.net/?a=blobdiff_plain;f=src%2Ffreenet%2Ffreenetmasterthread.cpp;fp=src%2Ffreenet%2Ffreenetmasterthread.cpp;h=cca101cd7c134ab6fcbea77fa948d1d24952ac81;hb=5f8a87e41beeda971d6a47a6c6b0555da00af978;hp=398d8fa52990d1f64e04e81907aaa07d86c6517f;hpb=c7fcb4c4bc5012a584add81a9509fc1f84c3c688;p=fms.git diff --git a/src/freenet/freenetmasterthread.cpp b/src/freenet/freenetmasterthread.cpp index 398d8fa..cca101c 100644 --- a/src/freenet/freenetmasterthread.cpp +++ b/src/freenet/freenetmasterthread.cpp @@ -194,7 +194,7 @@ void FreenetMasterThread::Run() done=true; } */ - for(int i=0; i<60,!IsCancelled(); i++) + for(int i=0; i<60 && !IsCancelled(); i++) { Sleep(1000); }