changeset 819:7d365efd704d

we do not need the zero terminated r->uri for a long time
author Igor Sysoev <igor@sysoev.ru>
date Sat, 28 Oct 2006 08:45:01 +0000
parents 8eb7f9b01d3f
children cdbe991cbdf5
files src/http/ngx_http_parse.c
diffstat 1 files changed, 0 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/http/ngx_http_parse.c
+++ b/src/http/ngx_http_parse.c
@@ -1032,7 +1032,6 @@ ngx_http_parse_complex_uri(ngx_http_requ
 done:
 
     r->uri.len = u - r->uri.data;
-    r->uri.data[r->uri.len] = '\0';
 
     if (r->uri_ext) {
         r->exten.len = u - r->uri_ext;