summaryrefslogtreecommitdiff
path: root/src/WebSocketInteractionCommand.cc
diff options
context:
space:
mode:
authorTatsuhiro Tsujikawa <tatsuhiro.t@gmail.com>2012-06-25 22:43:33 +0900
committerTatsuhiro Tsujikawa <tatsuhiro.t@gmail.com>2012-06-25 22:43:33 +0900
commit4b03634f36b05c32737aeea8ca178f53f68052e8 (patch)
treec0eff13df7c53eedf96ddf546832179f8305a8fd /src/WebSocketInteractionCommand.cc
parent3620d271af36a210af9c83fd6b49d13940710055 (diff)
Use PRId64 for int64_t format specifier
Diffstat (limited to 'src/WebSocketInteractionCommand.cc')
-rw-r--r--src/WebSocketInteractionCommand.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/WebSocketInteractionCommand.cc b/src/WebSocketInteractionCommand.cc
index 4daf1d25..4d7f26f8 100644
--- a/src/WebSocketInteractionCommand.cc
+++ b/src/WebSocketInteractionCommand.cc
@@ -91,9 +91,9 @@ bool WebSocketInteractionCommand::execute()
}
if(wsSession_->onReadEvent() == -1 || wsSession_->onWriteEvent() == -1) {
if(wsSession_->closeSent() || wsSession_->closeReceived()) {
- A2_LOG_INFO(fmt("CUID#%lld - WebSocket session terminated.", getCuid()));
+ A2_LOG_INFO(fmt("CUID#%" PRId64 " - WebSocket session terminated.", getCuid()));
} else {
- A2_LOG_INFO(fmt("CUID#%lld - WebSocket session terminated"
+ A2_LOG_INFO(fmt("CUID#%" PRId64 " - WebSocket session terminated"
" (Possibly due to EOF).", getCuid()));
}
return true;