summaryrefslogtreecommitdiff
path: root/src/resolver.cpp
diff options
context:
space:
mode:
authorChristian Pointner <equinox@anytun.org>2014-06-28 18:59:22 +0000
committerChristian Pointner <equinox@anytun.org>2014-06-28 18:59:22 +0000
commitb35d79b1feee163600305db7dcde9b4a7150f1cc (patch)
tree19ee96cfb175829218a7b7dcde74f963aaed2a2e /src/resolver.cpp
parentupdated changelog (diff)
while(1) vs. for(;;)
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();