diff options
author | Valentin Bartenev <vbart@nginx.com> | 2018-04-05 15:49:41 +0300 |
---|---|---|
committer | Valentin Bartenev <vbart@nginx.com> | 2018-04-05 15:49:41 +0300 |
commit | d15b4ca90639d0e6a5caab9ec905e49228072faf (patch) | |
tree | b929a2fed7cc997a5e18e42e74858c09d8258306 /src/nxt_php_sapi.c | |
parent | 49bd3a21e0f995c895b445c0566227661418c2bc (diff) | |
download | unit-d15b4ca90639d0e6a5caab9ec905e49228072faf.tar.gz unit-d15b4ca90639d0e6a5caab9ec905e49228072faf.tar.bz2 |
Style.
Diffstat (limited to 'src/nxt_php_sapi.c')
-rw-r--r-- | src/nxt_php_sapi.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/nxt_php_sapi.c b/src/nxt_php_sapi.c index 45260f1b..a7bfaac2 100644 --- a/src/nxt_php_sapi.c +++ b/src/nxt_php_sapi.c @@ -329,8 +329,8 @@ nxt_php_read_request(nxt_task_t *task, nxt_app_rmsg_t *rmsg, script_name.start = NULL; } - ctx->script.length = nxt_php_root.length + h->path.length + - script_name.length; + ctx->script.length = nxt_php_root.length + h->path.length + + script_name.length; p = ctx->script.start = nxt_malloc(ctx->script.length + 1); if (nxt_slow_path(p == NULL)) { return NXT_ERROR; |