* Changing push_log calls to the new logging facility.

git-svn-id: svn://rakshasa.no/libtorrent/trunk/rtorrent@1284 e378c898-3ddf-0310-93e7-cc216c733640
This commit is contained in:
rakshasa
2011-09-21 05:07:06 +00:00
parent 156d69c854
commit 4914d798f1
10 changed files with 44 additions and 31 deletions
+2 -2
View File
@@ -46,6 +46,7 @@
#include <unistd.h>
#include <rak/error_number.h>
#include <torrent/exceptions.h>
#include <torrent/utils/log.h>
#include "globals.h"
#include "control.h"
@@ -170,9 +171,8 @@ ThreadBase::event_loop(ThreadBase* threadBase) {
} catch (torrent::shutdown_exception& e) {
acquire_global_lock();
control->core()->push_log("Shutting down thread.");
lt_log_print(torrent::LOG_THREAD_NOTICE, "Shutting down thread.");
release_global_lock();
// sleep(20);
}
threadBase->m_state = STATE_INACTIVE;