remove unneeded increment
Igor Sysoev
11 years ago
2 changed file(s) with
2 addition(s)
and
2 deletion(s)
.
Raw diff
Collapse all
Expand all
+1
-1
src/http/modules/ngx_http_index_module.c
less
more
197
197
198
198
path.len = e.pos - path.data;
199
199
200
*e.pos++ = '\0';
200
*e.pos = '\0';
201
201
}
202
202
203
203
ngx_log_debug1(NGX_LOG_DEBUG_HTTP, r->connection->log, 0,
+1
-1
src/http/ngx_http_core_module.c
less
more
1121
1121
1122
1122
path.len = e.pos - path.data;
1123
1123
1124
*e.pos++ = '\0';
1124
*e.pos = '\0';
1125
1125
1126
1126
if (alias && ngx_strncmp(name, clcf->name.data, alias) == 0) {
1127
1127
ngx_memcpy(name, name + alias, len - alias);