From e8d3cd9b26f0b4d660e424f2657f11bbc01eb171 Mon Sep 17 00:00:00 2001 From: Giovanni Date: Wed, 22 Jul 2020 09:28:42 +0200 Subject: refactoring sp_log_* (#340) Co-authored-by: Giovanni Dante Grazioli --- src/sp_disabled_functions.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/sp_disabled_functions.c') diff --git a/src/sp_disabled_functions.c b/src/sp_disabled_functions.c index f35f5ca..a7136df 100644 --- a/src/sp_disabled_functions.c +++ b/src/sp_disabled_functions.c @@ -574,11 +574,11 @@ ZEND_FUNCTION(eval_blacklist_callback) { SP_TOKEN_EVAL_BLACKLIST); } if (config_eval->simulation) { - sp_log_msg("eval", SP_LOG_SIMULATION, + sp_log_simulation("eval", "A call to %s was tried in eval, in %s:%d, logging it.", current_function_name, ZSTR_VAL(filename), line_number); } else { - sp_log_msg("eval", SP_LOG_DROP, + sp_log_drop("eval", "A call to %s was tried in eval, in %s:%d, dropping it.", current_function_name, ZSTR_VAL(filename), line_number); } -- cgit v1.3