summaryrefslogtreecommitdiff
path: root/src/HttpResponseCommand.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/HttpResponseCommand.cc
parent7368c9c9d8515232204d3708a3e2233454368aec (diff)
Removed utf8ToNative from log message and exception message.
Diffstat (limited to 'src/HttpResponseCommand.cc')
-rw-r--r--src/HttpResponseCommand.cc6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/HttpResponseCommand.cc b/src/HttpResponseCommand.cc
index 2610d0e3..ba4fefbc 100644
--- a/src/HttpResponseCommand.cc
+++ b/src/HttpResponseCommand.cc
@@ -189,7 +189,7 @@ bool HttpResponseCommand::executeInternal()
A2_LOG_NOTICE
(fmt(MSG_DOWNLOAD_ALREADY_COMPLETED,
util::itos(getRequestGroup()->getGID()).c_str(),
- utf8ToNative(getRequestGroup()->getFirstFilePath()).c_str()));
+ getRequestGroup()->getFirstFilePath().c_str()));
poolConnection();
getFileEntry()->poolRequest(getRequest());
return true;
@@ -258,7 +258,7 @@ bool HttpResponseCommand::executeInternal()
isSameFileBeingDownloaded(getRequestGroup())) {
throw DOWNLOAD_FAILURE_EXCEPTION2
(fmt(EX_DUPLICATE_FILE_DOWNLOAD,
- utf8ToNative(getRequestGroup()->getFirstFilePath()).c_str()),
+ getRequestGroup()->getFirstFilePath().c_str()),
error_code::DUPLICATE_DOWNLOAD);
}
// update last modified time
@@ -442,7 +442,7 @@ bool HttpResponseCommand::handleOtherEncoding
A2_LOG_NOTICE
(fmt(MSG_DOWNLOAD_ALREADY_COMPLETED,
util::itos(getRequestGroup()->getGID()).c_str(),
- utf8ToNative(getRequestGroup()->getFirstFilePath()).c_str()));
+ getRequestGroup()->getFirstFilePath().c_str()));
poolConnection();
return true;
}