summaryrefslogtreecommitdiff
path: root/src/sp_config_keywords.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/sp_config_keywords.c')
-rw-r--r--src/sp_config_keywords.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/sp_config_keywords.c b/src/sp_config_keywords.c
index 93077c6..6bb7130 100644
--- a/src/sp_config_keywords.c
+++ b/src/sp_config_keywords.c
@@ -486,7 +486,7 @@ int parse_disabled_functions(char *line) {
486 486
487 if (df->function && zend_string_equals_literal(df->function, "print")) { 487 if (df->function && zend_string_equals_literal(df->function, "print")) {
488 zend_string_release(df->function); 488 zend_string_release(df->function);
489 df->function = zend_string_init("echo", strlen("echo"), 1); 489 df->function = zend_string_init("echo", sizeof("echo") - 1, 1);
490 } 490 }
491 491
492 if (df->function && !df->functions_list) { 492 if (df->function && !df->functions_list) {