Mercurial > hg > nginx-quic
diff src/http/ngx_http_core_module.c @ 2564:47839f59ce2a
remove unneeded increment
author | Igor Sysoev <igor@sysoev.ru> |
---|---|
date | Sat, 14 Mar 2009 17:10:25 +0000 |
parents | c352c419be85 |
children | 456e453eb84a |
line wrap: on
line diff
--- a/src/http/ngx_http_core_module.c +++ b/src/http/ngx_http_core_module.c @@ -1122,7 +1122,7 @@ ngx_http_core_try_files_phase(ngx_http_r path.len = e.pos - path.data; - *e.pos++ = '\0'; + *e.pos = '\0'; if (alias && ngx_strncmp(name, clcf->name.data, alias) == 0) { ngx_memcpy(name, name + alias, len - alias);