From: Pierrick Charron Date: Sat, 22 Sep 2012 14:04:51 +0000 (-0400) Subject: Add CURLOPT_READDATA which was removed by mistake X-Git-Tag: php-5.5.0alpha1~45^2~20 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=70713a27b69962126a8e75caf01c88db96a542e3;p=php 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 --- diff --git a/ext/curl/interface.c b/ext/curl/interface.c index 523bc1c6a0..d9abece5fc 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);