diff options
| author | jvoisin | 2022-06-27 22:47:20 +0200 |
|---|---|---|
| committer | jvoisin | 2022-06-27 22:47:20 +0200 |
| commit | 86407a7347963c4d6eb532a770d38df6223976e0 (patch) | |
| tree | 421348fd563a575cfde28ab9e59cf7197da3ca60 | |
| parent | a5f070cd7d982ae96ad72fb79420407574e7682a (diff) | |
Minor code simplification
| -rw-r--r-- | src/sp_utils.c | 2 |
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 | ||
