diff --git a/src/cookie_helper.cc b/src/cookie_helper.cc index 8ad1e518..18540c65 100644 --- a/src/cookie_helper.cc +++ b/src/cookie_helper.cc @@ -302,7 +302,7 @@ std::unique_ptr parse(const std::string& cookieStr, int64_t n = creationTime; if (n > std::numeric_limits::max() - delta) { - maxAge = std::numeric_limits::max(); + maxAge = std::numeric_limits::max(); } else { n += delta;