summaryrefslogtreecommitdiff
path: root/src/UTMetadataPostDownloadHandler.cc
diff options
context:
space:
mode:
authorTatsuhiro Tsujikawa <tatsuhiro.t@gmail.com>2012-09-22 17:37:30 +0900
committerTatsuhiro Tsujikawa <tatsuhiro.t@gmail.com>2012-09-22 17:37:30 +0900
commite2340efe2788648a6edc49eaa236e1f62d96a937 (patch)
treed182c828e80c0d63069160805ff7d023e512b02e /src/UTMetadataPostDownloadHandler.cc
parent0030025bb6989b130c7f609819669e0619519d64 (diff)
Use std::vector instead of std::map for ContextAttribute objects
Now key for ContextAttribute object store is int instead of string.
Diffstat (limited to 'src/UTMetadataPostDownloadHandler.cc')
-rw-r--r--src/UTMetadataPostDownloadHandler.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/UTMetadataPostDownloadHandler.cc b/src/UTMetadataPostDownloadHandler.cc
index 13623fc1..0557a1b1 100644
--- a/src/UTMetadataPostDownloadHandler.cc
+++ b/src/UTMetadataPostDownloadHandler.cc
@@ -58,7 +58,7 @@ bool UTMetadataPostDownloadHandler::Criteria::match
{
const SharedHandle<DownloadContext>& dctx =
requestGroup->getDownloadContext();
- if(dctx->hasAttribute(bittorrent::BITTORRENT)) {
+ if(dctx->hasAttribute(CTX_ATTR_BT)) {
SharedHandle<TorrentAttribute> attrs = bittorrent::getTorrentAttrs(dctx);
if(attrs->metadata.empty()) {
return true;