From de8fef01f3119719441b36c758fd5bd924bcf607 Mon Sep 17 00:00:00 2001 From: Tatsuhiro Tsujikawa Date: Sun, 21 Mar 2010 07:05:49 +0000 Subject: 2010-03-21 Tatsuhiro Tsujikawa Defined cuid_t as int64_t. Removed texts containing "CUID#%D" from translatable texts because it is used in log and debugging purpose. --- src/HttpServerCommand.cc | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'src/HttpServerCommand.cc') diff --git a/src/HttpServerCommand.cc b/src/HttpServerCommand.cc index 2f1c8fd0..13ba4730 100644 --- a/src/HttpServerCommand.cc +++ b/src/HttpServerCommand.cc @@ -137,8 +137,10 @@ bool HttpServerCommand::execute() } } } catch(RecoverableException& e) { - logger->info("CUID#%d - Error occurred while reading HTTP request", - e, cuid); + if(logger->info()) { + logger->info("CUID#%s - Error occurred while reading HTTP request", + e, util::itos(cuid).c_str()); + } return true; } -- cgit