summaryrefslogtreecommitdiffhomepage
path: root/src/nxt_http_parse.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/nxt_http_parse.c')
-rw-r--r--src/nxt_http_parse.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/nxt_http_parse.c b/src/nxt_http_parse.c
index 715ab089..cf0a0c7d 100644
--- a/src/nxt_http_parse.c
+++ b/src/nxt_http_parse.c
@@ -444,8 +444,8 @@ space_after_target:
}
if (rp->exten_start) {
- rp->exten.length = rp->path.start + rp->path.length -
- rp->exten_start;
+ rp->exten.length = rp->path.start + rp->path.length
+ - rp->exten_start;
rp->exten.start = rp->exten_start;
}