diff options
author | Dmitry Stogov <dmitry@php.net> | 2008-11-27 19:01:23 +0000 |
---|---|---|
committer | Dmitry Stogov <dmitry@php.net> | 2008-11-27 19:01:23 +0000 |
commit | 7d4fd3fd380a7fe9b497684775a38190786b93ba (patch) | |
tree | 0ff7829b47dc4969052284b9ad9411c465bd424e /ext/curl/interface.c | |
parent | d741138a4639adb14cb31ea519ded0e0432c9e9a (diff) | |
download | php-git-7d4fd3fd380a7fe9b497684775a38190786b93ba.tar.gz |
Fixed bug #46409 (__invoke method called outside of object context when using array_map)
Diffstat (limited to 'ext/curl/interface.c')
-rw-r--r-- | ext/curl/interface.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/ext/curl/interface.c b/ext/curl/interface.c index 982748092f..c1a55c17b5 100644 --- a/ext/curl/interface.c +++ b/ext/curl/interface.c @@ -850,7 +850,7 @@ static size_t curl_write(char *data, size_t size, size_t nmemb, void *ctx) fci.size = sizeof(fci); fci.function_table = EG(function_table); - fci.object_pp = NULL; + fci.object_ptr = NULL; fci.function_name = t->func_name; fci.retval_ptr_ptr = &retval_ptr; fci.param_count = 2; @@ -923,7 +923,7 @@ static size_t curl_read(char *data, size_t size, size_t nmemb, void *ctx) fci.size = sizeof(fci); fci.function_table = EG(function_table); fci.function_name = t->func_name; - fci.object_pp = NULL; + fci.object_ptr = NULL; fci.retval_ptr_ptr = &retval_ptr; fci.param_count = 3; fci.params = argv; @@ -1000,7 +1000,7 @@ static size_t curl_write_header(char *data, size_t size, size_t nmemb, void *ctx fci.function_table = EG(function_table); fci.function_name = t->func_name; fci.symbol_table = NULL; - fci.object_pp = NULL; + fci.object_ptr = NULL; fci.retval_ptr_ptr = &retval_ptr; fci.param_count = 2; fci.params = argv; |