summaryrefslogtreecommitdiff
path: root/src/resolver.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/resolver.cpp')
-rw-r--r--src/resolver.cpp2
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();