summaryrefslogtreecommitdiff
path: root/src/sp_disabled_functions.c
diff options
context:
space:
mode:
authorGiovanni2020-07-22 09:28:42 +0200
committerGitHub2020-07-22 09:28:42 +0200
commite8d3cd9b26f0b4d660e424f2657f11bbc01eb171 (patch)
treefa2b312815be8b50afae7fd0447fe891ab19a487 /src/sp_disabled_functions.c
parent5a655dda1c3b666adf552fd50f5ebf5f4cbd3ce7 (diff)
refactoring sp_log_* (#340)
Co-authored-by: Giovanni Dante Grazioli <giovanni.dantegrazioli@nbs-system.com>
Diffstat (limited to 'src/sp_disabled_functions.c')
-rw-r--r--src/sp_disabled_functions.c4
1 files changed, 2 insertions, 2 deletions
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) {
574 SP_TOKEN_EVAL_BLACKLIST); 574 SP_TOKEN_EVAL_BLACKLIST);
575 } 575 }
576 if (config_eval->simulation) { 576 if (config_eval->simulation) {
577 sp_log_msg("eval", SP_LOG_SIMULATION, 577 sp_log_simulation("eval",
578 "A call to %s was tried in eval, in %s:%d, logging it.", 578 "A call to %s was tried in eval, in %s:%d, logging it.",
579 current_function_name, ZSTR_VAL(filename), line_number); 579 current_function_name, ZSTR_VAL(filename), line_number);
580 } else { 580 } else {
581 sp_log_msg("eval", SP_LOG_DROP, 581 sp_log_drop("eval",
582 "A call to %s was tried in eval, in %s:%d, dropping it.", 582 "A call to %s was tried in eval, in %s:%d, dropping it.",
583 current_function_name, ZSTR_VAL(filename), line_number); 583 current_function_name, ZSTR_VAL(filename), line_number);
584 } 584 }