Changeset 2128

Show
Ignore:
Timestamp:
03/13/2008 03:34:10 PM (6 months ago)
Author:
stbuehler
Message:

Fix mod_compress to compile with old gcc version (#1592)

Location:
branches/lighttpd-1.4.x
Files:
2 modified

Legend:

Unmodified
Added
Removed
  • branches/lighttpd-1.4.x/NEWS

    r2127 r2128  
    66- 1.4.20 - 
    77 
    8   * 
     8  * Fix mod_compress to compile with old gcc version (#1592) 
    99 
    1010- 1.4.19 - 2008-03-10 
  • branches/lighttpd-1.4.x/src/mod_compress.c

    r2101 r2128  
    179179 
    180180                if (!buffer_is_empty(s->compress_cache_dir)) { 
     181                        struct stat st; 
    181182                        mkdir_recursive(s->compress_cache_dir->ptr); 
    182183 
    183                         struct stat st; 
    184184                        if (0 != stat(s->compress_cache_dir->ptr, &st)) { 
    185185                                log_error_write(srv, __FILE__, __LINE__, "sbs", "can't stat compress.cache-dir",