r1557@h2o: darix | 2007-01-14 10:55:33 +0100

- fix a crash for files with an mtime of 0 
   reported by cubiq on irc


git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@1519 152afb58-edef-0310-8abb-c4023f1b3aa9
svn/tags/lighttpd-1.4.14
Marcus Rückert 17 years ago
parent d471bcc9ca
commit 55a713a1a1

@ -163,6 +163,7 @@ static server *server_init(void) {
#undef CLEAN
for (i = 0; i < FILE_CACHE_MAX; i++) {
srv->mtime_cache[i].mtime = (time_t)-1;
srv->mtime_cache[i].str = buffer_init();
}

Loading…
Cancel
Save