summaryrefslogtreecommitdiff
path: root/src/HttpResponseCommand.cc
diff options
context:
space:
mode:
authorTatsuhiro Tsujikawa <tatsuhiro.t@gmail.com>2011-12-02 21:36:11 +0900
committerTatsuhiro Tsujikawa <tatsuhiro.t@gmail.com>2011-12-02 21:36:11 +0900
commitf860bf0d50c7fccb4ecf71478b3763cc78e0944b (patch)
tree7735674ee24a314a45b85ec7f0a15f7afca160f1 /src/HttpResponseCommand.cc
parentbc9fb7cb65662e9edbb4fdc759ad3f4d51bbb3e1 (diff)
Use %lld to fomat a2_gid_t
Diffstat (limited to 'src/HttpResponseCommand.cc')
-rw-r--r--src/HttpResponseCommand.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/HttpResponseCommand.cc b/src/HttpResponseCommand.cc
index ba4fefbc..f9242591 100644
--- a/src/HttpResponseCommand.cc
+++ b/src/HttpResponseCommand.cc
@@ -188,7 +188,7 @@ bool HttpResponseCommand::executeInternal()
getDownloadContext()->setChecksumVerified(true);
A2_LOG_NOTICE
(fmt(MSG_DOWNLOAD_ALREADY_COMPLETED,
- util::itos(getRequestGroup()->getGID()).c_str(),
+ getRequestGroup()->getGID(),
getRequestGroup()->getFirstFilePath().c_str()));
poolConnection();
getFileEntry()->poolRequest(getRequest());
@@ -441,7 +441,7 @@ bool HttpResponseCommand::handleOtherEncoding
getDownloadContext()->setChecksumVerified(true);
A2_LOG_NOTICE
(fmt(MSG_DOWNLOAD_ALREADY_COMPLETED,
- util::itos(getRequestGroup()->getGID()).c_str(),
+ getRequestGroup()->getGID(),
getRequestGroup()->getFirstFilePath().c_str()));
poolConnection();
return true;