From 02307cee0a395d8405d0e160664d4a37c79fe16c Mon Sep 17 00:00:00 2001 From: Tatsuhiro Tsujikawa Date: Mon, 8 Aug 2011 21:46:10 +0900 Subject: Removed utf8ToNative from log message and exception message. --- src/HttpResponseCommand.cc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/HttpResponseCommand.cc') 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; } -- cgit