mirror of
https://github.com/php/php-src.git
synced 2024-09-22 18:37:25 +00:00
cleanup (we don't have to duplicate elements of stream_filters_hash)
This commit is contained in:
parent
9fea4348fd
commit
b59cc8de23
@ -60,7 +60,6 @@ PHPAPI int php_stream_filter_register_factory_volatile(const char *filterpattern
|
||||
if (!FG(stream_filters)) {
|
||||
ALLOC_HASHTABLE(FG(stream_filters));
|
||||
zend_hash_init(FG(stream_filters), zend_hash_num_elements(&stream_filters_hash), NULL, NULL, 1);
|
||||
//??? zend_hash_copy(FG(stream_filters), &stream_filters_hash, NULL, &tmpfactory, sizeof(php_stream_filter_factory));
|
||||
zend_hash_copy(FG(stream_filters), &stream_filters_hash, NULL);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user