summaryrefslogtreecommitdiff
path: root/src/sp_utils.c
diff options
context:
space:
mode:
authorjvoisin2022-06-27 22:47:20 +0200
committerjvoisin2022-06-27 22:47:20 +0200
commit86407a7347963c4d6eb532a770d38df6223976e0 (patch)
tree421348fd563a575cfde28ab9e59cf7197da3ca60 /src/sp_utils.c
parenta5f070cd7d982ae96ad72fb79420407574e7682a (diff)
Minor code simplification
Diffstat (limited to 'src/sp_utils.c')
-rw-r--r--src/sp_utils.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/sp_utils.c b/src/sp_utils.c
index d7200b1..2ec1750 100644
--- a/src/sp_utils.c
+++ b/src/sp_utils.c
@@ -182,7 +182,7 @@ int sp_log_request(const zend_string* restrict folder, const zend_string* restri
182#if PHP_VERSION_ID >= 80000 182#if PHP_VERSION_ID >= 80000
183 fprintf(file, "EVAL_CODE: %s\n", ZSTR_VAL(SPG(eval_source_string))); 183 fprintf(file, "EVAL_CODE: %s\n", ZSTR_VAL(SPG(eval_source_string)));
184#else 184#else
185 fprintf(file, "EVAL_CODE: %s\n", ZSTR_VAL(zval_get_string(SPG(eval_source_string)))); 185 fprintf(file, "EVAL_CODE: %s\n", Z_STRVAL_P(SPG(eval_source_string)));
186#endif 186#endif
187 } 187 }
188 188