summaryrefslogtreecommitdiff
path: root/ext/curl
diff options
context:
space:
mode:
authorfoobar <sniper@php.net>2003-08-05 23:50:59 +0000
committerfoobar <sniper@php.net>2003-08-05 23:50:59 +0000
commitcc011660e715a63e61b7e1101e5f07515d41125e (patch)
tree460efc01d182a816f313d57bace88a480c9d353a /ext/curl
parent3ef8d3663dd500b9e70508bfc7eb523505e67aa5 (diff)
downloadphp-git-cc011660e715a63e61b7e1101e5f07515d41125e.tar.gz
Fix the build
Diffstat (limited to 'ext/curl')
-rw-r--r--ext/curl/interface.c2
-rw-r--r--ext/curl/php_curl.h4
2 files changed, 3 insertions, 3 deletions
diff --git a/ext/curl/interface.c b/ext/curl/interface.c
index feec10b1ff..c549ea2983 100644
--- a/ext/curl/interface.c
+++ b/ext/curl/interface.c
@@ -562,7 +562,7 @@ static size_t curl_write_header(char *data, size_t size, size_t nmemb, void *ctx
fci.params = argv;
fci.no_separation = 0;
- error = zend_call_user_function(&fci, &t->fci_cache TSRMLS_CC);
+ error = zend_call_function(&fci, &t->fci_cache TSRMLS_CC);
if (error == FAILURE) {
php_error_docref(NULL TSRMLS_CC, E_WARNING, "Could not call the CURLOPT_HEADERFUNCTION");
length = -1;
diff --git a/ext/curl/php_curl.h b/ext/curl/php_curl.h
index 46d5509a50..94c94e971e 100644
--- a/ext/curl/php_curl.h
+++ b/ext/curl/php_curl.h
@@ -79,7 +79,7 @@ void _php_curl_multi_close(zend_rsrc_list_entry * TSRMLS_DC);
typedef struct {
zval *func_name;
- zend_fcall_info fci_cache;
+ zend_fcall_info_cache fci_cache;
FILE *fp;
smart_str buf;
int method;
@@ -88,7 +88,7 @@ typedef struct {
typedef struct {
zval *func_name;
- zend_fcall_info fci_cache;
+ zend_fcall_info_cache fci_cache;
FILE *fp;
long fd;
int method;