aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--http-server/response.cc2
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) {