diff options
author | Dmitry Stogov <dmitry@zend.com> | 2018-06-29 00:19:16 +0300 |
---|---|---|
committer | Dmitry Stogov <dmitry@zend.com> | 2018-06-29 00:19:16 +0300 |
commit | dd932f7e634f0ad621cf1118cabef42570059b5e (patch) | |
tree | 2d2fdd0ff62e505bbce2be59c475fa4a2c392e92 /sapi/phpdbg/phpdbg_utils.c | |
parent | a7101415cb19ec01aacaa0ababb88d02c6a1631d (diff) | |
download | php-git-dd932f7e634f0ad621cf1118cabef42570059b5e.tar.gz |
Changed php_add[c]slashes prototypes (removed should_free argument)
Diffstat (limited to 'sapi/phpdbg/phpdbg_utils.c')
-rw-r--r-- | sapi/phpdbg/phpdbg_utils.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sapi/phpdbg/phpdbg_utils.c b/sapi/phpdbg/phpdbg_utils.c index 71194633ab..e10eb60d4a 100644 --- a/sapi/phpdbg/phpdbg_utils.c +++ b/sapi/phpdbg/phpdbg_utils.c @@ -824,7 +824,7 @@ char *phpdbg_short_zval_print(zval *zv, int maxlen) /* {{{ */ break; case IS_STRING: { int i; - zend_string *str = php_addcslashes(Z_STR_P(zv), 0, "\\\"\n\t\0", 5); + zend_string *str = php_addcslashes(Z_STR_P(zv), "\\\"\n\t\0", 5); for (i = 0; i < ZSTR_LEN(str); i++) { if (ZSTR_VAL(str)[i] < 32) { ZSTR_VAL(str)[i] = ' '; |