From d80dcfd06b5be6b950cde09194161ff0f10dde27 Mon Sep 17 00:00:00 2001 From: Mauro Sardara Date: Tue, 8 Aug 2017 21:53:34 +0200 Subject: Correctly set response lifetime Change-Id: I9b32d071808f3c10e4a75a982d177e4d2a6c08c4 Signed-off-by: Mauro Sardara --- http-server/response.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/http-server/response.cc b/http-server/response.cc index ca8dfea2..21a93dd8 100644 --- a/http-server/response.cc +++ b/http-server/response.cc @@ -46,7 +46,7 @@ const std::chrono::milliseconds &Response::getResponseLifetime() const { return response_lifetime_; } void Response::setResponseLifetime(const std::chrono::milliseconds &response_lifetime) { - Response::response_lifetime_ = response_lifetime_; + Response::response_lifetime_ = response_lifetime; } void Response::setResponseLength(std::size_t length) { -- cgit 1.2.3-korg