Mercurial > hg > nginx-vendor-0-7
diff src/http/modules/ngx_http_autoindex_module.c @ 52:0d75d65c642f NGINX_0_1_26
nginx 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.
author | Igor Sysoev <http://sysoev.ru> |
---|---|
date | Tue, 22 Mar 2005 00:00:00 +0300 |
parents | 72eb30262aac |
children | b55cbf18157e |
line wrap: on
line diff
--- 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_requ } -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;