summaryrefslogtreecommitdiff
path: root/src/BtRejectMessage.cc
diff options
context:
space:
mode:
authorTatsuhiro Tsujikawa <tatsuhiro.t@gmail.com>2010-11-20 09:36:14 +0000
committerTatsuhiro Tsujikawa <tatsuhiro.t@gmail.com>2010-11-20 09:36:14 +0000
commit694fb307aa7e582a55bce7e995bde3a4614b3b4f (patch)
tree42bf3e703ebd706c9ebdd62bca59396f2d67a790 /src/BtRejectMessage.cc
parent580098eb4929a3bdbf424af18da361259ef2efe5 (diff)
2010-11-20 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
Replaced StringFormat with fmt
Diffstat (limited to 'src/BtRejectMessage.cc')
-rw-r--r--src/BtRejectMessage.cc6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/BtRejectMessage.cc b/src/BtRejectMessage.cc
index ee5dc6e1..89ba9c28 100644
--- a/src/BtRejectMessage.cc
+++ b/src/BtRejectMessage.cc
@@ -37,7 +37,7 @@
#include "Peer.h"
#include "RequestSlot.h"
#include "BtMessageDispatcher.h"
-#include "StringFormat.h"
+#include "fmt.h"
namespace aria2 {
@@ -57,8 +57,8 @@ void BtRejectMessage::doReceivedAction()
{
if(!getPeer()->isFastExtensionEnabled()) {
throw DL_ABORT_EX
- (StringFormat("%s received while fast extension is disabled.",
- toString().c_str()).str());
+ (fmt("%s received while fast extension is disabled.",
+ toString().c_str()));
}
if(isMetadataGetMode()) {
return;