diff options
author | Anatol Belski <ab@php.net> | 2016-10-13 09:55:37 +0200 |
---|---|---|
committer | Anatol Belski <ab@php.net> | 2016-10-13 09:55:37 +0200 |
commit | ce3e792c2c4c251fd5963a36af5ad4a9dd875085 (patch) | |
tree | ac6f743cb7642c48161faa1e4e454b20d011488d /sapi/phpdbg/phpdbg_prompt.c | |
parent | 3104882cf873308c43dca20bdfd698dd3470a246 (diff) | |
download | php-git-ce3e792c2c4c251fd5963a36af5ad4a9dd875085.tar.gz |
use already exported symbol
Diffstat (limited to 'sapi/phpdbg/phpdbg_prompt.c')
-rw-r--r-- | sapi/phpdbg/phpdbg_prompt.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sapi/phpdbg/phpdbg_prompt.c b/sapi/phpdbg/phpdbg_prompt.c index a0623e16f1..c126ce2029 100644 --- a/sapi/phpdbg/phpdbg_prompt.c +++ b/sapi/phpdbg/phpdbg_prompt.c @@ -544,7 +544,7 @@ int phpdbg_compile_stdin(zend_string *code) { PHPDBG_G(exec_len) = 1; { /* remove leading ?> from source */ int i; - zend_string *source_path = zend_strpprintf(0, "-%c%p", 0, PHPDBG_G(ops)->opcodes); + zend_string *source_path = strpprintf(0, "-%c%p", 0, PHPDBG_G(ops)->opcodes); phpdbg_file_source *data = zend_hash_find_ptr(&PHPDBG_G(file_sources), source_path); dtor_func_t dtor = PHPDBG_G(file_sources).pDestructor; PHPDBG_G(file_sources).pDestructor = NULL; |