diff options
author | Andrew Clayton <a.clayton@nginx.com> | 2023-01-25 21:46:01 +0000 |
---|---|---|
committer | Andrew Clayton <a.clayton@nginx.com> | 2023-01-27 14:46:45 +0000 |
commit | fafdb7a57ad976e048147fe23079dca9c602e88a (patch) | |
tree | 35bd0e0f5a228ecda2999d6aaed5918e6d610763 /auto/have | |
parent | 3923de987efa79645b3e30a55adca4375e0843e2 (diff) | |
download | unit-fafdb7a57ad976e048147fe23079dca9c602e88a.tar.gz unit-fafdb7a57ad976e048147fe23079dca9c602e88a.tar.bz2 |
PHP: Simplify ctx->script_filename.start in nxt_php_execute().
Create a const char *filename variable to hold
ctx->script_filename.start, which is a much more manageable name and
will negate the need for any more casting in the following commit when
we switch to using a FILE * instead of a filename in
php_execute_script().
Reviewed-by: Alejandro Colomar <alx@nginx.com>
Cc: Andrei Zeliankou <zelenkov@nginx.com>
Signed-off-by: Andrew Clayton <a.clayton@nginx.com>
Diffstat (limited to 'auto/have')
0 files changed, 0 insertions, 0 deletions