- Fix data size

This commit is contained in:
Felipe Pena 2008-05-08 17:22:07 +00:00
parent 496099274b
commit 27c72fd2e1

View File

@ -636,7 +636,7 @@ PHP_FUNCTION(stream_filter_register)
fdat->classname_len = classname_len;
if (zend_hash_add(BG(user_filter_map), filtername, filtername_len + 1, (void*)fdat,
sizeof(*fdat) + classname_len, NULL) == SUCCESS &&
sizeof(*fdat), NULL) == SUCCESS &&
php_stream_filter_register_factory_volatile(filtername, &user_filter_factory TSRMLS_CC) == SUCCESS) {
RETVAL_TRUE;
}