summaryrefslogtreecommitdiff
path: root/src/FtpNegotiationCommand.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/FtpNegotiationCommand.cc
parent7368c9c9d8515232204d3708a3e2233454368aec (diff)
Removed utf8ToNative from log message and exception message.
Diffstat (limited to 'src/FtpNegotiationCommand.cc')
-rw-r--r--src/FtpNegotiationCommand.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/FtpNegotiationCommand.cc b/src/FtpNegotiationCommand.cc
index 8d25b6e6..c249feab 100644
--- a/src/FtpNegotiationCommand.cc
+++ b/src/FtpNegotiationCommand.cc
@@ -376,7 +376,7 @@ bool FtpNegotiationCommand::onFileSizeDetermined(uint64_t totalLength)
isSameFileBeingDownloaded(getRequestGroup())) {
throw DOWNLOAD_FAILURE_EXCEPTION2
(fmt(EX_DUPLICATE_FILE_DOWNLOAD,
- utf8ToNative(getRequestGroup()->getFirstFilePath()).c_str()),
+ getRequestGroup()->getFirstFilePath().c_str()),
error_code::DUPLICATE_DOWNLOAD);
}
if(totalLength == 0) {
@@ -407,7 +407,7 @@ bool FtpNegotiationCommand::onFileSizeDetermined(uint64_t totalLength)
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 false;