summaryrefslogtreecommitdiff
path: root/src/HttpServerCommand.cc
diff options
context:
space:
mode:
authorTatsuhiro Tsujikawa <tatsuhiro.t@gmail.com>2010-11-20 12:12:06 +0000
committerTatsuhiro Tsujikawa <tatsuhiro.t@gmail.com>2010-11-20 12:12:06 +0000
commit03417e94b4aba60bf3cd835a1f7387ec18ea62d8 (patch)
tree48d296a85dd3fa435c6b60856818ff9d7ba56589 /src/HttpServerCommand.cc
parent694fb307aa7e582a55bce7e995bde3a4614b3b4f (diff)
2010-11-20 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
Use format specifier %lld for cuid_t. Defined cuid_t as long long int instead of int64_t, since g++ complains int64_t is not suitable for %lld.
Diffstat (limited to 'src/HttpServerCommand.cc')
-rw-r--r--src/HttpServerCommand.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/HttpServerCommand.cc b/src/HttpServerCommand.cc
index 4e7d42d0..28ecca16 100644
--- a/src/HttpServerCommand.cc
+++ b/src/HttpServerCommand.cc
@@ -141,8 +141,8 @@ bool HttpServerCommand::execute()
}
}
} catch(RecoverableException& e) {
- A2_LOG_INFO_EX(fmt("CUID#%s - Error occurred while reading HTTP request",
- util::itos(getCuid()).c_str()),
+ A2_LOG_INFO_EX(fmt("CUID#%lld - Error occurred while reading HTTP request",
+ getCuid()),
e);
return true;
}