summaryrefslogtreecommitdiff
path: root/src/http/modules/ngx_http_static_module.c
diff options
context:
space:
mode:
authorIgor Sysoev <igor@sysoev.ru>2005-10-04 10:35:33 +0000
committerJonathan Kolb <jon@b0g.us>2005-10-04 10:35:33 +0000
commit3d5736770305c42dd10030969b18107abd2ae36a (patch)
treed4de10e58322f224bd3d2310d875b568b88fcfcb /src/http/modules/ngx_http_static_module.c
parentfeec6759eab3fa301e1695038c95c608e4b16c1c (diff)
downloadnginx-0.2.5.tar.gz
Changes with nginx 0.2.5 04 Oct 2005v0.2.5
*) Change: the duplicate value of the ngx_http_geo_module variable now causes the warning and changes old value. *) Feature: the ngx_http_ssi_module supports the "set" command. *) Feature: the ngx_http_ssi_module supports the "file" parameter in the "include" command. *) Feature: the ngx_http_ssi_module supports the variable value substitutions in epxiressions of the "if" command.
Diffstat (limited to 'src/http/modules/ngx_http_static_module.c')
-rw-r--r--src/http/modules/ngx_http_static_module.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/http/modules/ngx_http_static_module.c b/src/http/modules/ngx_http_static_module.c
index d8884cac8..afdbf7864 100644
--- a/src/http/modules/ngx_http_static_module.c
+++ b/src/http/modules/ngx_http_static_module.c
@@ -339,7 +339,7 @@ ngx_http_static_handler(ngx_http_request_t *r)
b->in_file = 1;
- if (r->main == NULL) {
+ if (r->main == r) {
b->last_buf = 1;
}