summaryrefslogtreecommitdiff
path: root/src/sp_utils.c
diff options
context:
space:
mode:
authorjvoisin2021-01-01 16:31:33 +0100
committerjvoisin2021-01-01 16:31:33 +0100
commit837fbdb88a513500520f057d27bdfedd0d3995ca (patch)
treea311472f26ac4358f5c03311ea37e99e7d4facd7 /src/sp_utils.c
parent0127dd9b9d1d81dbeb674bd956a10fbd83f42cdd (diff)
Constify a function
Diffstat (limited to 'src/sp_utils.c')
-rw-r--r--src/sp_utils.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/sp_utils.c b/src/sp_utils.c
index cb63037..04074bf 100644
--- a/src/sp_utils.c
+++ b/src/sp_utils.c
@@ -140,7 +140,8 @@ static int construct_filename(char* filename,
140} 140}
141 141
142int sp_log_request(const zend_string* restrict folder, 142int sp_log_request(const zend_string* restrict folder,
143 const zend_string* restrict text_repr, char* from) { 143 const zend_string* restrict text_repr,
144 char const* const from) {
144 FILE* file; 145 FILE* file;
145 const char* current_filename = zend_get_executed_filename(TSRMLS_C); 146 const char* current_filename = zend_get_executed_filename(TSRMLS_C);
146 const int current_line = zend_get_executed_lineno(TSRMLS_C); 147 const int current_line = zend_get_executed_lineno(TSRMLS_C);