diff options
| author | xXx-caillou-xXx | 2018-08-30 17:14:08 +0200 |
|---|---|---|
| committer | jvoisin | 2018-08-30 15:14:08 +0000 |
| commit | 206ffa3fb3fd72c6a2eb45194fb176535a91288c (patch) | |
| tree | 23a25d83c4ca878861f413a0d5df2ad77c7dadaf /src/sp_config_keywords.c | |
| parent | b3f67a16094168cc334f5da93a86f09476e01601 (diff) | |
Minor code cleanup
Diffstat (limited to 'src/sp_config_keywords.c')
| -rw-r--r-- | src/sp_config_keywords.c | 2 |
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) { |
