aboutsummaryrefslogtreecommitdiff
path: root/src/http/modules/ngx_http_index_module.c
diff options
context:
space:
mode:
authorIgor Sysoev <igor@sysoev.ru>2009-03-14 17:10:25 +0000
committerIgor Sysoev <igor@sysoev.ru>2009-03-14 17:10:25 +0000
commit51ed97f79f36b4286577e0bda8822fbc18d11df6 (patch)
tree6df16ce690ed702c032b16efaf4e892c87c1a30b /src/http/modules/ngx_http_index_module.c
parentda0a5318f10bf171235c247976ae30ca9b07a19f (diff)
downloadnginx-51ed97f79f36b4286577e0bda8822fbc18d11df6.tar.gz
nginx-51ed97f79f36b4286577e0bda8822fbc18d11df6.zip
remove unneeded increment
Diffstat (limited to 'src/http/modules/ngx_http_index_module.c')
-rw-r--r--src/http/modules/ngx_http_index_module.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/http/modules/ngx_http_index_module.c b/src/http/modules/ngx_http_index_module.c
index f9ce84944..fd201056a 100644
--- a/src/http/modules/ngx_http_index_module.c
+++ b/src/http/modules/ngx_http_index_module.c
@@ -198,7 +198,7 @@ ngx_http_index_handler(ngx_http_request_t *r)
path.len = e.pos - path.data;
- *e.pos++ = '\0';
+ *e.pos = '\0';
}
ngx_log_debug1(NGX_LOG_DEBUG_HTTP, r->connection->log, 0,