diff options
author | Mauro Sardara <msardara+fdio@cisco.com> | 2017-08-08 21:53:34 +0200 |
---|---|---|
committer | Mauro Sardara <msardara+fdio@cisco.com> | 2017-08-08 21:53:34 +0200 |
commit | d80dcfd06b5be6b950cde09194161ff0f10dde27 (patch) | |
tree | d832ae2021ba30247dd7e9f1752062969bec28f7 /http-server/response.cc | |
parent | cbc04c22d00db043716fc695d40937252ebbf9ee (diff) |
Correctly set response lifetime
Change-Id: I9b32d071808f3c10e4a75a982d177e4d2a6c08c4
Signed-off-by: Mauro Sardara <msardara+fdio@cisco.com>
Diffstat (limited to 'http-server/response.cc')
-rw-r--r-- | http-server/response.cc | 2 |
1 files changed, 1 insertions, 1 deletions
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) { |