Skip to content
Snippets Groups Projects
Commit d1863a4e authored by Deucе's avatar Deucе :ok_hand_tone4:
Browse files

Remove extra set of errno.

We don't need this anymore because the paranoid wrapper does it.
parent 4f6fb2b4
No related branches found
No related tags found
No related merge requests found
Pipeline #8115 passed
......@@ -581,7 +581,6 @@ parse_cache_control(struct http_session *sess, const char *val)
sz = sep - val;
// The sep check is for Coverity...
if (sz == 7 && strnicmp(val, "max-age=", 8) == 0 && sep) {
errno = 0;
long long ll;
if (paranoid_strtoll(&sep[0], NULL, 10, &ll))
sess->cache.max_age = ll;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment