summaryrefslogtreecommitdiffstats
path: root/source/cAuthenticator.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'source/cAuthenticator.cpp')
-rw-r--r--source/cAuthenticator.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/source/cAuthenticator.cpp b/source/cAuthenticator.cpp
index c82b8cec0..0c482a9a1 100644
--- a/source/cAuthenticator.cpp
+++ b/source/cAuthenticator.cpp
@@ -113,7 +113,7 @@ void cAuthenticator::Stop(void)
void cAuthenticator::Execute(void)
{
- while (true)
+ for (;;)
{
cCSLock Lock(mCS);
while (!mShouldTerminate && (mQueue.size() == 0))
@@ -142,7 +142,7 @@ void cAuthenticator::Execute(void)
{
cRoot::Get()->AuthenticateUser(UserName);
}
- }
+ } // for (-ever)
}