From 5317ca1778eddcf5db50c27f837143ffb8a08ef4 Mon Sep 17 00:00:00 2001 From: Christian Pointner Date: Wed, 4 Mar 2009 20:59:57 +0000 Subject: cleanup --- src/resolver.cpp | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) (limited to 'src/resolver.cpp') diff --git a/src/resolver.cpp b/src/resolver.cpp index 5a230ae..7439f3d 100644 --- a/src/resolver.cpp +++ b/src/resolver.cpp @@ -79,15 +79,13 @@ void Resolver::init() thread_ = new boost::thread(boost::bind(&Resolver::run, this)); } -void Resolver::run(/*void* s*/) +void Resolver::run() { - //Resolver* self = reinterpret_cast(s); - cLog.msg(Log::PRIO_DEBUG) << "Resolver Thread started"; while(1) { - /*self->*/io_service_.run(); - /*self->*/io_service_.reset(); + io_service_.run(); + io_service_.reset(); boost::this_thread::sleep(boost::posix_time::milliseconds(250)); } } -- cgit v1.2.3