diff options
author | Christian Pointner <equinox@anytun.org> | 2014-06-28 18:59:22 +0000 |
---|---|---|
committer | Christian Pointner <equinox@anytun.org> | 2014-06-28 18:59:22 +0000 |
commit | b35d79b1feee163600305db7dcde9b4a7150f1cc (patch) | |
tree | 19ee96cfb175829218a7b7dcde74f963aaed2a2e /src/resolver.cpp | |
parent | updated changelog (diff) |
while(1) vs. for(;;)
Diffstat (limited to 'src/resolver.cpp')
-rw-r--r-- | src/resolver.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/resolver.cpp b/src/resolver.cpp index db94358..afca093 100644 --- a/src/resolver.cpp +++ b/src/resolver.cpp @@ -117,7 +117,7 @@ void Resolver::run() { cLog.msg(Log::PRIO_DEBUG) << "Resolver Thread started"; - while(1) { + for(;;) { try { io_service_.run(); io_service_.reset(); |