comparison 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
comparison
equal deleted inserted replaced
818:8eb7f9b01d3f 819:7d365efd704d
1030 } 1030 }
1031 1031
1032 done: 1032 done:
1033 1033
1034 r->uri.len = u - r->uri.data; 1034 r->uri.len = u - r->uri.data;
1035 r->uri.data[r->uri.len] = '\0';
1036 1035
1037 if (r->uri_ext) { 1036 if (r->uri_ext) {
1038 r->exten.len = u - r->uri_ext; 1037 r->exten.len = u - r->uri_ext;
1039 r->exten.data = r->uri_ext; 1038 r->exten.data = r->uri_ext;
1040 } 1039 }