From 93e5dbed325f29c1bf867a2847d3b839d545cfb2 Mon Sep 17 00:00:00 2001 From: Tatsuhiro Tsujikawa Date: Fri, 12 Nov 2010 12:48:48 +0000 Subject: 2010-11-12 Tatsuhiro Tsujikawa Removed SharedHandle::isNull(). Instead we added operator* and operator unspecified_bool_type. Removed use of WeakHandle and replaced with raw pointer. --- src/HttpServerCommand.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/HttpServerCommand.cc') diff --git a/src/HttpServerCommand.cc b/src/HttpServerCommand.cc index bbce79df..95f48d67 100644 --- a/src/HttpServerCommand.cc +++ b/src/HttpServerCommand.cc @@ -101,7 +101,7 @@ bool HttpServerCommand::execute() header = httpServer_->receiveRequest(); - if(header.isNull()) { + if(!header) { e_->addCommand(this); return false; } -- cgit