From 9feade6d7afdfb1075877e6e098e64550351b333 Mon Sep 17 00:00:00 2001 From: Mauro Sardara Date: Fri, 22 Sep 2017 15:44:01 +0200 Subject: Add simple applications for ICN17 tutorial Change-Id: Ic76e73c87e0313056356a02d8ec45d6e337288cb Signed-off-by: Mauro Sardara --- icnet/http/icnet_http_server_publisher.cc | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'icnet/http') diff --git a/icnet/http/icnet_http_server_publisher.cc b/icnet/http/icnet_http_server_publisher.cc index e42154b2..82c90051 100644 --- a/icnet/http/icnet_http_server_publisher.cc +++ b/icnet/http/icnet_http_server_publisher.cc @@ -39,9 +39,7 @@ HTTPServerPublisher& HTTPServerPublisher::attachPublisher() { HTTPServerPublisher &HTTPServerPublisher::setTimeout(uint32_t timeout) { std::shared_ptr portal; producer_->getSocketOption(transport::GeneralTransportOptions::PORTAL, portal); - timer_ = std::unique_ptr(new boost::asio::deadline_timer(portal->getIoService(), - boost::posix_time::seconds( - timeout))); + timer_ = std::unique_ptr(new boost::asio::deadline_timer(portal->getIoService(), boost::posix_time::seconds(timeout))); wait_callback_ = [this](const boost::system::error_code e) { if (!e) { -- cgit 1.2.3-korg