Changeset 1519

Show
Ignore:
Timestamp:
01/14/2007 09:58:14 AM (19 months ago)
Author:
darix
Message:

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
Files:
1 modified

Legend:

Unmodified
Added
Removed
  • branches/lighttpd-1.4.x/src/server.c

    r1372 r1519  
    164164 
    165165        for (i = 0; i < FILE_CACHE_MAX; i++) { 
     166                srv->mtime_cache[i].mtime = (time_t)-1; 
    166167                srv->mtime_cache[i].str = buffer_init(); 
    167168        }