From 09bc3ffc8734cf2437e14ab123c7b732db53b836 Mon Sep 17 00:00:00 2001 From: jvoisin Date: Thu, 2 Oct 2025 12:16:29 +0200 Subject: Rename a handful of global constants --- src/sp_utils.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/sp_utils.c') diff --git a/src/sp_utils.c b/src/sp_utils.c index 64de467..b045f61 100644 --- a/src/sp_utils.c +++ b/src/sp_utils.c @@ -44,7 +44,7 @@ void sp_log_msgf(char const* const restrict feature, int level, int type, } switch (SPCFG(log_media)) { - case SP_SYSLOG: { + case SP_LOG_SYSLOG: { const char* error_filename = zend_get_executed_filename(); int syslog_level = (level == E_ERROR) ? LOG_ERR : LOG_INFO; int error_lineno = zend_get_executed_lineno(TSRMLS_C); @@ -58,7 +58,7 @@ void sp_log_msgf(char const* const restrict feature, int level, int type, } break; } - case SP_ZEND: + case SP_LOG_ZEND: default: zend_error(level, "[snuffleupagus][%s][%s][%s] %s", client_ip, feature, logtype, msg); -- cgit v1.3