mirror of
https://github.com/rakshasa/rtorrent.git
synced 2026-08-13 05:32:31 +00:00
* 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:
+2
-2
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user