diff src/http/ngx_http_parse.c @ 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 5dc3ba0d6388
children cdbe991cbdf5
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;