diff options
author | Igor Sysoev <igor@sysoev.ru> | 2005-03-22 19:02:46 +0300 |
---|---|---|
committer | Igor Sysoev <igor@sysoev.ru> | 2005-03-22 19:02:46 +0300 |
commit | 4d656dcd0bd6309b0ec76fc444198ed6c2948a8e (patch) | |
tree | 67ce201b7d515273fa2a6a617542cece4fa16898 /src/http/modules/ngx_http_autoindex_module.c | |
parent | 3599a1b885533d929315494258fb407765243a95 (diff) |
nginx-0.1.26-RELEASE importrelease-0.1.26
*) Change: the invalid client header lines are now ignored and logged
at the info level.
*) Change: the server name is also logged in error log.
*) Feature: the ngx_http_auth_basic_module module and the auth_basic
and auth_basic_user_file directives.
Diffstat (limited to 'src/http/modules/ngx_http_autoindex_module.c')
-rw-r--r-- | src/http/modules/ngx_http_autoindex_module.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/http/modules/ngx_http_autoindex_module.c b/src/http/modules/ngx_http_autoindex_module.c index a7b998678..ff163ed3c 100644 --- a/src/http/modules/ngx_http_autoindex_module.c +++ b/src/http/modules/ngx_http_autoindex_module.c @@ -39,7 +39,8 @@ typedef struct { #define NGX_HTTP_AUTOINDEX_NAME_LEN 50 -static int ngx_http_autoindex_cmp_entries(const void *one, const void *two); +static int ngx_libc_cdecl ngx_http_autoindex_cmp_entries(const void *one, + const void *two); static ngx_int_t ngx_http_autoindex_error(ngx_http_request_t *r, ngx_dir_t *dir, u_char *name); static ngx_int_t ngx_http_autoindex_init(ngx_cycle_t *cycle); @@ -446,7 +447,7 @@ ngx_http_autoindex_handler(ngx_http_request_t *r) } -static int +static int ngx_libc_cdecl ngx_http_autoindex_cmp_entries(const void *one, const void *two) { ngx_http_autoindex_entry_t *first = (ngx_http_autoindex_entry_t *) one; |