com php-src: Add CURLOPT_READDATA which was removed b y mistake: ext/curl/interface.c
| From: | Pierrick Charron | Date: | Sat, 22 Sep 2012 14:05:52 +0000 |
| Subject: | com php-src: Add CURLOPT_READDATA which was removed b y mistake: ext/curl/interface.c | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-70215@lists.php.net to get a copy of this message | ||
Commit: 70713a27b69962126a8e75caf01c88db96a542e3
Author: Pierrick Charron <pierrick@php.net> Sat, 22 Sep 2012 10:04:51 -0400
Parents: 8984de467269d9b3da67d182bfd65baf6ce4d9d9
Branches: master
Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=70713a27b69962126a8e75caf01c88db96a542e3
Log:
Add CURLOPT_READDATA which was removed by mistake
I did a check and this is the only one which was removed by mistake.
No other constants are available in 5.4 branch and not in master
Changed paths:
M ext/curl/interface.c
Diff:
diff --git a/ext/curl/interface.c b/ext/curl/interface.c
index 523bc1c..d9abece 100644
--- a/ext/curl/interface.c
+++ b/ext/curl/interface.c
@@ -638,6 +638,7 @@ PHP_MINIT_FUNCTION(curl)
REGISTER_CURL_CONSTANT(CURLOPT_QUOTE);
REGISTER_CURL_CONSTANT(CURLOPT_RANDOM_FILE);
REGISTER_CURL_CONSTANT(CURLOPT_RANGE);
+ REGISTER_CURL_CONSTANT(CURLOPT_READDATA);
REGISTER_CURL_CONSTANT(CURLOPT_READFUNCTION);
REGISTER_CURL_CONSTANT(CURLOPT_REFERER);
REGISTER_CURL_CONSTANT(CURLOPT_RESUME_FROM);