diff options
| author | Tatsuhiro Tsujikawa <tatsuhiro.t@gmail.com> | 2012-06-25 22:43:33 +0900 |
|---|---|---|
| committer | Tatsuhiro Tsujikawa <tatsuhiro.t@gmail.com> | 2012-06-25 22:43:33 +0900 |
| commit | 4b03634f36b05c32737aeea8ca178f53f68052e8 (patch) | |
| tree | c0eff13df7c53eedf96ddf546832179f8305a8fd /src/HttpServerBodyCommand.cc | |
| parent | 3620d271af36a210af9c83fd6b49d13940710055 (diff) | |
Use PRId64 for int64_t format specifier
Diffstat (limited to 'src/HttpServerBodyCommand.cc')
| -rw-r--r-- | src/HttpServerBodyCommand.cc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/HttpServerBodyCommand.cc b/src/HttpServerBodyCommand.cc index bd2e3a70..44cd6b95 100644 --- a/src/HttpServerBodyCommand.cc +++ b/src/HttpServerBodyCommand.cc @@ -195,7 +195,7 @@ bool HttpServerBodyCommand::execute() req = rpc::xmlParseMemory(body.c_str(), body.size()); } catch(RecoverableException& e) { A2_LOG_INFO_EX - (fmt("CUID#%lld - Failed to parse XML-RPC request", + (fmt("CUID#%" PRId64 " - Failed to parse XML-RPC request", getCuid()), e); httpServer_->feedResponse(400); @@ -228,7 +228,7 @@ bool HttpServerBodyCommand::execute() } } catch(RecoverableException& e) { A2_LOG_INFO_EX - (fmt("CUID#%lld - Failed to parse JSON-RPC request", + (fmt("CUID#%" PRId64 " - Failed to parse JSON-RPC request", getCuid()), e); rpc::RpcResponse res @@ -283,7 +283,7 @@ bool HttpServerBodyCommand::execute() } } catch(RecoverableException& e) { A2_LOG_INFO_EX - (fmt("CUID#%lld - Error occurred while reading HTTP request body", + (fmt("CUID#%" PRId64 " - Error occurred while reading HTTP request body", getCuid()), e); return true; |
