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
commitdd8842c28f19e795566a40cb5d7bb0ae3003bc2e (patch)
tree8a673e6d47c30fb6dc823f20895660100334fe4b /ext/curl/php_curl.h
parent1e0743df12537d80180bfa322bcc44989801bab6 (diff)
downloadphp-git-dd8842c28f19e795566a40cb5d7bb0ae3003bc2e.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 3063d8b42d..0e4d81c456 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 {