summaryrefslogtreecommitdiff
path: root/src/DefaultBtProgressInfoFile.cc
diff options
context:
space:
mode:
authorTatsuhiro Tsujikawa <tatsuhiro.t@gmail.com>2011-07-27 22:50:10 +0900
committerTatsuhiro Tsujikawa <tatsuhiro.t@gmail.com>2011-07-27 22:50:10 +0900
commit02292feaba560e379acec7f7477a0c50c679d0dc (patch)
tree26959c29862865642da6cc62975692896f0248f7 /src/DefaultBtProgressInfoFile.cc
parent03f0774482075c9777ad5733e7e285d792a76360 (diff)
Consistent naming scheme for hash type and digest for Piece.
Diffstat (limited to 'src/DefaultBtProgressInfoFile.cc')
-rw-r--r--src/DefaultBtProgressInfoFile.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/DefaultBtProgressInfoFile.cc b/src/DefaultBtProgressInfoFile.cc
index ada93585..2b816817 100644
--- a/src/DefaultBtProgressInfoFile.cc
+++ b/src/DefaultBtProgressInfoFile.cc
@@ -390,7 +390,7 @@ void DefaultBtProgressInfoFile::load()
#ifdef ENABLE_MESSAGE_DIGEST
- piece->setHashAlgo(dctx_->getPieceHashType());
+ piece->setHashType(dctx_->getPieceHashType());
#endif // ENABLE_MESSAGE_DIGEST