Re: mod_cache: Broken code?

2015-12-07 Thread Eric Covener
On Fri, Apr 24, 2015 at 2:04 AM, Niklas Edmundsson wrote: > > When trying to debug something else I stumbled across this code-snippet in > modules/cache/mod_cache.c: > > errno = 0; > x = control.max_age_value; > if (errno) { > x = dconf->defex; > } > else { > x = x *

mod_cache: Broken code?

2015-04-24 Thread Niklas Edmundsson
When trying to debug something else I stumbled across this code-snippet in modules/cache/mod_cache.c: errno = 0; x = control.max_age_value; if (errno) { x = dconf-defex; } else { x = x * MSEC_ONE_SEC; } It looks that way both in trunk and 2.4.x. The likelhood of that if-statement to