Mercurial > hg > nginx
diff src/http/modules/ngx_http_gzip_static_module.c @ 2756:09cab3f8d92e
*) of.test_only to not open file if only stat() is enough
*) of.failed to return exact name of failed syscall
author | Igor Sysoev <igor@sysoev.ru> |
---|---|
date | Mon, 27 Apr 2009 09:55:53 +0000 |
parents | 8e720b7fe6d2 |
children | 3cd2790f4a9b |
line wrap: on
line diff
--- a/src/http/modules/ngx_http_gzip_static_module.c +++ b/src/http/modules/ngx_http_gzip_static_module.c @@ -152,7 +152,7 @@ ngx_http_gzip_static_handler(ngx_http_re } ngx_log_error(level, log, of.err, - ngx_open_file_n " \"%s\" failed", path.data); + "%s \"%s\" failed", of.failed, path.data); return NGX_DECLINED; }