diff options
Diffstat (limited to 'src/sp_ini.c')
| -rw-r--r-- | src/sp_ini.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/sp_ini.c b/src/sp_ini.c index 62bd181..7fec297 100644 --- a/src/sp_ini.c +++ b/src/sp_ini.c | |||
| @@ -66,7 +66,7 @@ static bool /* success */ sp_ini_check(zend_string *varname, zend_string *new_va | |||
| 66 | } | 66 | } |
| 67 | 67 | ||
| 68 | if (entry->regexp) { | 68 | if (entry->regexp) { |
| 69 | if (!sp_is_regexp_matching_len(entry->regexp, ZSTR_VAL(new_value), ZSTR_LEN(new_value))) { | 69 | if (!sp_is_regexp_matching_zstr(entry->regexp, new_value)) { |
| 70 | sp_log_ini_check_violation("%s", (entry->msg ? ZSTR_VAL(entry->msg) : "INI value does not match regex")); | 70 | sp_log_ini_check_violation("%s", (entry->msg ? ZSTR_VAL(entry->msg) : "INI value does not match regex")); |
| 71 | return simulation; | 71 | return simulation; |
| 72 | } | 72 | } |
