summaryrefslogtreecommitdiff
path: root/src/CheckIntegrityCommand.cc
diff options
context:
space:
mode:
authorTatsuhiro Tsujikawa <tatsuhiro.t@gmail.com>2011-08-08 21:46:10 +0900
committerTatsuhiro Tsujikawa <tatsuhiro.t@gmail.com>2011-08-08 21:46:10 +0900
commit02307cee0a395d8405d0e160664d4a37c79fe16c (patch)
treebf897205f2e9f8262bd9a92e7e9eb078ba93bf98 /src/CheckIntegrityCommand.cc
parent7368c9c9d8515232204d3708a3e2233454368aec (diff)
Removed utf8ToNative from log message and exception message.
Diffstat (limited to 'src/CheckIntegrityCommand.cc')
-rw-r--r--src/CheckIntegrityCommand.cc9
1 files changed, 3 insertions, 6 deletions
diff --git a/src/CheckIntegrityCommand.cc b/src/CheckIntegrityCommand.cc
index 60521e14..c4284211 100644
--- a/src/CheckIntegrityCommand.cc
+++ b/src/CheckIntegrityCommand.cc
@@ -73,8 +73,7 @@ bool CheckIntegrityCommand::executeInternal()
if(getRequestGroup()->downloadFinished()) {
A2_LOG_NOTICE
(fmt(MSG_VERIFICATION_SUCCESSFUL,
- utf8ToNative(getRequestGroup()->getDownloadContext()
- ->getBasePath()).c_str()));
+ getRequestGroup()->getDownloadContext()->getBasePath().c_str()));
std::vector<Command*>* commands = new std::vector<Command*>();
auto_delete_container<std::vector<Command*> > commandsDel(commands);
entry_->onDownloadFinished(*commands, getDownloadEngine());
@@ -83,8 +82,7 @@ bool CheckIntegrityCommand::executeInternal()
} else {
A2_LOG_ERROR
(fmt(MSG_VERIFICATION_FAILED,
- utf8ToNative(getRequestGroup()->getDownloadContext()
- ->getBasePath()).c_str()));
+ getRequestGroup()->getDownloadContext()->getBasePath().c_str()));
std::vector<Command*>* commands = new std::vector<Command*>();
auto_delete_container<std::vector<Command*> > commandsDel(commands);
entry_->onDownloadIncomplete(*commands, getDownloadEngine());
@@ -108,8 +106,7 @@ bool CheckIntegrityCommand::handleException(Exception& e)
A2_LOG_ERROR
(fmt(MSG_DOWNLOAD_NOT_COMPLETE,
getCuid(),
- utf8ToNative(getRequestGroup()->getDownloadContext()
- ->getBasePath()).c_str()));
+ getRequestGroup()->getDownloadContext()->getBasePath().c_str()));
return true;
}