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	Wed Oct 25 16:33:40 2006 +0000
+++ b/src/http/ngx_http_parse.c	Sat Oct 28 08:45:01 2006 +0000
@@ -1032,7 +1032,6 @@
 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;