summaryrefslogtreecommitdiff
path: root/ext/curl/php_curl.h
diff options
context:
space:
mode:
authorIlia Alshanetsky <iliaa@php.net>2009-09-30 02:34:17 +0000
committerIlia Alshanetsky <iliaa@php.net>2009-09-30 02:34:17 +0000
commit809dbcda08514357b03d05bb7449679d6dbcce4d (patch)
treeb4d77703be883c6d36da5d01e504ed571f23fce2 /ext/curl/php_curl.h
parente56e60c3a009d23a5accc2967e4358d182943108 (diff)
downloadphp-git-809dbcda08514357b03d05bb7449679d6dbcce4d.tar.gz
Fixed bug #49517 (cURL's CURLOPT_FILE prevents file from being deleted after fclose).
Diffstat (limited to 'ext/curl/php_curl.h')
-rw-r--r--ext/curl/php_curl.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/ext/curl/php_curl.h b/ext/curl/php_curl.h
index f8229e9b6f..d50e722a43 100644
--- a/ext/curl/php_curl.h
+++ b/ext/curl/php_curl.h
@@ -86,6 +86,7 @@ typedef struct {
smart_str buf;
int method;
int type;
+ zval *stream;
} php_curl_write;
typedef struct {
@@ -94,6 +95,7 @@ typedef struct {
FILE *fp;
long fd;
int method;
+ zval *stream;
} php_curl_read;
typedef struct {