summaryrefslogtreecommitdiff
path: root/src/UTMetadataPostDownloadHandler.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/UTMetadataPostDownloadHandler.cc')
-rw-r--r--src/UTMetadataPostDownloadHandler.cc6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/UTMetadataPostDownloadHandler.cc b/src/UTMetadataPostDownloadHandler.cc
index 44e7073f..c82e11c9 100644
--- a/src/UTMetadataPostDownloadHandler.cc
+++ b/src/UTMetadataPostDownloadHandler.cc
@@ -67,7 +67,7 @@ bool UTMetadataPostDownloadHandler::Criteria::match
}
UTMetadataPostDownloadHandler::UTMetadataPostDownloadHandler():
- _logger(LogFactory::getInstance())
+ logger_(LogFactory::getInstance())
{
setCriteria(SharedHandle<Criteria>(new Criteria()));
}
@@ -86,9 +86,9 @@ void UTMetadataPostDownloadHandler::getNextRequestGroups
util::applyDir(requestGroup->getOption()->get(PREF_DIR),
util::toHex(attrs->infoHash)+".torrent");
if(util::saveAs(filename, torrent)) {
- _logger->notice(MSG_METADATA_SAVED, filename.c_str());
+ logger_->notice(MSG_METADATA_SAVED, filename.c_str());
} else {
- _logger->notice(MSG_METADATA_NOT_SAVED, filename.c_str());
+ logger_->notice(MSG_METADATA_NOT_SAVED, filename.c_str());
}
}
if(!requestGroup->getOption()->getAsBool(PREF_BT_METADATA_ONLY)) {