]> granicus.if.org Git - php/commitdiff
use already exported symbol
authorAnatol Belski <ab@php.net>
Thu, 13 Oct 2016 07:55:37 +0000 (09:55 +0200)
committerAnatol Belski <ab@php.net>
Thu, 13 Oct 2016 07:55:37 +0000 (09:55 +0200)
sapi/phpdbg/phpdbg_prompt.c

index a0623e16f12a8831dc756fda9f6e31d3484d393c..c126ce2029f14f4d58fdf323ed512e5d5e997fc5 100644 (file)
@@ -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;