commit | 51ed97f79f36b4286577e0bda8822fbc18d11df6 | [log] [tgz] |
---|---|---|
author | Igor Sysoev <igor@sysoev.ru> | Sat Mar 14 17:10:25 2009 +0000 |
committer | Igor Sysoev <igor@sysoev.ru> | Sat Mar 14 17:10:25 2009 +0000 |
tree | 6df16ce690ed702c032b16efaf4e892c87c1a30b | |
parent | da0a5318f10bf171235c247976ae30ca9b07a19f [diff] [blame] |
remove unneeded increment
diff --git a/src/http/ngx_http_core_module.c b/src/http/ngx_http_core_module.c index 2c3992b..3af15de 100644 --- a/src/http/ngx_http_core_module.c +++ b/src/http/ngx_http_core_module.c
@@ -1122,7 +1122,7 @@ 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);