summaryrefslogtreecommitdiff
path: root/ext/curl/php_curl.h
diff options
context:
space:
mode:
authorPierrick Charron <pierrick@php.net>2011-11-22 17:13:26 +0000
committerPierrick Charron <pierrick@php.net>2011-11-22 17:13:26 +0000
commit33d3eb1e43134deb3e108108f62febdabc8a0aa1 (patch)
treeccb40c19e01bc526e7ad29e8734dc87e2ee01d9a /ext/curl/php_curl.h
parentaeaa4b3da6261b87bae2f80b8507f9081ca4cd55 (diff)
downloadphp-git-33d3eb1e43134deb3e108108f62febdabc8a0aa1.tar.gz
Fixed bug #55635
Diffstat (limited to 'ext/curl/php_curl.h')
-rw-r--r--ext/curl/php_curl.h5
1 files changed, 1 insertions, 4 deletions
diff --git a/ext/curl/php_curl.h b/ext/curl/php_curl.h
index fe771970cb..6acfc5eedd 100644
--- a/ext/curl/php_curl.h
+++ b/ext/curl/php_curl.h
@@ -41,14 +41,12 @@ extern zend_module_entry curl_module_entry;
#define curl_module_ptr &curl_module_entry
#define CURLOPT_RETURNTRANSFER 19913
-#define CURLOPT_BINARYTRANSFER 19914
+#define CURLOPT_BINARYTRANSFER 19914 /* For Backward compatibility */
#define PHP_CURL_STDOUT 0
#define PHP_CURL_FILE 1
#define PHP_CURL_USER 2
#define PHP_CURL_DIRECT 3
#define PHP_CURL_RETURN 4
-#define PHP_CURL_ASCII 5
-#define PHP_CURL_BINARY 6
#define PHP_CURL_IGNORE 7
extern int le_curl;
@@ -85,7 +83,6 @@ typedef struct {
FILE *fp;
smart_str buf;
int method;
- int type;
zval *stream;
} php_curl_write;