diff options
Diffstat (limited to 'src/sp_utils.c')
| -rw-r--r-- | src/sp_utils.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/sp_utils.c b/src/sp_utils.c index a8c84f9..57ecf67 100644 --- a/src/sp_utils.c +++ b/src/sp_utils.c | |||
| @@ -142,7 +142,9 @@ int sp_log_request(const zend_string* restrict folder, const zend_string* restri | |||
| 142 | return -1; | 142 | return -1; |
| 143 | } | 143 | } |
| 144 | 144 | ||
| 145 | fprintf(file, "RULE: %s\n", ZSTR_VAL(text_repr)); | 145 | fputs("RULE: ", file); |
| 146 | fputs(ZSTR_VAL(text_repr), file); | ||
| 147 | fputc('\n', file); | ||
| 146 | 148 | ||
| 147 | fprintf(file, "FILE: %s:%d\n", current_filename, current_line); | 149 | fprintf(file, "FILE: %s:%d\n", current_filename, current_line); |
| 148 | 150 | ||
