* 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 -1
View File
@@ -57,6 +57,7 @@
#include <torrent/object_stream.h>
#include <torrent/tracker_list.h>
#include <torrent/throttle.h>
#include <torrent/utils/log.h>
#include "rpc/parse_commands.h"
#include "utils/directory.h"
@@ -579,7 +580,7 @@ Manager::receive_hashing_changed() {
} else {
(*itr)->set_hash_failed(true);
push_log(e.what());
lt_log_print(torrent::LOG_TORRENT_ERROR, "Hashing failed: %s", e.what());
}
}
}