Fix build with latest development versions of Nginx

The zero_in_uri member of the request structure does not longer exist, so
removed a reference to it.

Signed-off-by: Adrian Perez <aperez@igalia.com>
pull/4/head v0.2.3
Sergey A. Osokin 2010-06-03 22:07:36 +02:00 committed by Adrian Perez
parent bcbf8144c6
commit d54092b842
1 changed files with 0 additions and 3 deletions

View File

@ -591,9 +591,6 @@ ngx_http_fancyindex_handler(ngx_http_request_t *r)
} }
/* TODO: Win32 */ /* TODO: Win32 */
if (r->zero_in_uri) {
return NGX_DECLINED;
}
if (!(r->method & (NGX_HTTP_GET|NGX_HTTP_HEAD))) { if (!(r->method & (NGX_HTTP_GET|NGX_HTTP_HEAD))) {
return NGX_DECLINED; return NGX_DECLINED;