summaryrefslogtreecommitdiff
path: root/src/sp_unserialize.c
diff options
context:
space:
mode:
authorjvoisin2017-10-10 12:12:10 +0200
committerjvoisin2017-10-10 12:12:10 +0200
commit18711c04c9e6fc6056f79f05598719a112ecbba5 (patch)
tree34016121eb1ecba352d1eb8bcb341ffcfe645db8 /src/sp_unserialize.c
parent6c89a3e68e109ab9e6ef5445c00ea786cd59c89c (diff)
Make the `simulation` mode logs more obvious
Diffstat (limited to 'src/sp_unserialize.c')
-rw-r--r--src/sp_unserialize.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/sp_unserialize.c b/src/sp_unserialize.c
index c8503de..b3dfad7 100644
--- a/src/sp_unserialize.c
+++ b/src/sp_unserialize.c
@@ -88,7 +88,7 @@ PHP_FUNCTION(sp_unserialize) {
88 } 88 }
89 } else { 89 } else {
90 if ( true == SNUFFLEUPAGUS_G(config).config_unserialize->simulation) { 90 if ( true == SNUFFLEUPAGUS_G(config).config_unserialize->simulation) {
91 sp_log_msg("unserialize", SP_LOG_NOTICE, "Invalid HMAC for %s", serialized_str); 91 sp_log_msg("unserialize", SP_LOG_SIMULATION, "Invalid HMAC for %s", serialized_str);
92 if ((orig_handler = zend_hash_str_find_ptr(SNUFFLEUPAGUS_G(sp_internal_functions_hook), 92 if ((orig_handler = zend_hash_str_find_ptr(SNUFFLEUPAGUS_G(sp_internal_functions_hook),
93 "unserialize", 11))) { 93 "unserialize", 11))) {
94 orig_handler(INTERNAL_FUNCTION_PARAM_PASSTHRU); 94 orig_handler(INTERNAL_FUNCTION_PARAM_PASSTHRU);