X-Git-Url: https://git.m6w6.name/?p=m6w6%2Fext-http;a=blobdiff_plain;f=php_http_client.c;h=160e8bbd809f9ebcc84c482723dec175bf313ad6;hp=364903e36e9d97ea2c15f4354c3689582b157e57;hb=c3f7d34f18cd62956f241092c67a38edf246328d;hpb=789f8205b16e89ce1982e4d492c7406e8ff66271 diff --git a/php_http_client.c b/php_http_client.c index 364903e..160e8bb 100644 --- a/php_http_client.c +++ b/php_http_client.c @@ -533,7 +533,7 @@ static PHP_METHOD(HttpClient, __construct) php_http_pretty_key(name_str + sizeof("http\\Client"), driver.name_len, 1, 1); if ((pf = php_persistent_handle_concede(NULL , name_str, name_len, persistent_handle_str, persistent_handle_len, NULL, NULL TSRMLS_CC))) { - rf = php_resource_factory_init(NULL, php_persistent_handle_get_resource_factory_ops(), pf, (void (*)(void *)) php_persistent_handle_abandon); + rf = php_persistent_handle_resource_factory_init(NULL, pf); } efree(name_str);