mirror of
https://github.com/php/php-src.git
synced 2025-08-18 23:18:56 +02:00
s/zend_hash_exists/zend_hash_find/
This commit is contained in:
parent
ccf430ca93
commit
a08acfb080
1 changed files with 1 additions and 1 deletions
|
@ -1915,7 +1915,7 @@ static zval *phar_rename_archive(phar_archive_data *phar, char *ext, zend_bool c
|
||||||
efree(basepath);
|
efree(basepath);
|
||||||
efree(newname);
|
efree(newname);
|
||||||
|
|
||||||
if (SUCCESS == zend_hash_exists(&(PHAR_GLOBALS->phar_fname_map), newpath, phar->fname_len, (void **) &pphar)) {
|
if (SUCCESS == zend_hash_find(&(PHAR_GLOBALS->phar_fname_map), newpath, phar->fname_len, (void **) &pphar)) {
|
||||||
if (*pphar == phar) {
|
if (*pphar == phar) {
|
||||||
if (!zend_hash_num_elements(&phar->manifest)) {
|
if (!zend_hash_num_elements(&phar->manifest)) {
|
||||||
goto its_ok;
|
goto its_ok;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue