From 038ebdc27151210bc8586e361b2f2e70b76d931c Mon Sep 17 00:00:00 2001 From: jvoisin Date: Sun, 12 Jul 2020 21:21:26 +0200 Subject: More constification --- src/sp_utils.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/sp_utils.c') diff --git a/src/sp_utils.c b/src/sp_utils.c index e5c2942..c4354b6 100644 --- a/src/sp_utils.c +++ b/src/sp_utils.c @@ -131,7 +131,7 @@ int sp_log_request(const zend_string* restrict folder, const int current_line = zend_get_executed_lineno(TSRMLS_C); char filename[PATH_MAX] = {0}; const struct { - const char* str; + char const* const str; const int key; } zones[] = {{"GET", TRACK_VARS_GET}, {"POST", TRACK_VARS_POST}, {"COOKIE", TRACK_VARS_COOKIE}, {"SERVER", TRACK_VARS_SERVER}, -- cgit v1.3