diff options
| author | Tatsuhiro Tsujikawa <tatsuhiro.t@gmail.com> | 2010-11-20 09:36:14 +0000 |
|---|---|---|
| committer | Tatsuhiro Tsujikawa <tatsuhiro.t@gmail.com> | 2010-11-20 09:36:14 +0000 |
| commit | 694fb307aa7e582a55bce7e995bde3a4614b3b4f (patch) | |
| tree | 42bf3e703ebd706c9ebdd62bca59396f2d67a790 /src/FtpConnection.cc | |
| parent | 580098eb4929a3bdbf424af18da361259ef2efe5 (diff) | |
2010-11-20 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
Replaced StringFormat with fmt
Diffstat (limited to 'src/FtpConnection.cc')
| -rw-r--r-- | src/FtpConnection.cc | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/FtpConnection.cc b/src/FtpConnection.cc index b8d0f76a..4d8b60d8 100644 --- a/src/FtpConnection.cc +++ b/src/FtpConnection.cc @@ -52,7 +52,6 @@ #include "DlAbortEx.h" #include "Socket.h" #include "A2STR.h" -#include "StringFormat.h" #include "fmt.h" #include "AuthConfig.h" #include "a2functional.h" @@ -374,8 +373,8 @@ bool FtpConnection::bulkReceiveResponse } if(strbuf_.size()+size > MAX_RECV_BUFFER) { throw DL_RETRY_EX - (StringFormat("Max FTP recv buffer reached. length=%lu", - static_cast<unsigned long>(strbuf_.size()+size)).str()); + (fmt("Max FTP recv buffer reached. length=%lu", + static_cast<unsigned long>(strbuf_.size()+size))); } strbuf_.append(&buf[0], &buf[size]); } |
