php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Return to Bug #71694
Patch CURLM_ADDED_ALREADY-support revision 2016-03-01 11:28 UTC by ryosuke_i_628 at yahoo dot co dot jp
revision 2016-03-01 06:28 UTC by ryosuke_i_628 at yahoo dot co dot jp

Patch CURLM_ADDED_ALREADY-support for cURL related Bug #71694

Patch version 2016-03-01 11:28 UTC

Return to Bug #71694 | Download this patch
This patch renders other patches obsolete

Obsolete patches:

Patch Revisions: 2016-03-01 11:28 UTC | 2016-03-01 06:28 UTC

Developer: ryosuke_i_628@yahoo.co.jp



  diff --git ext/curl/interface.c ext/curl/interface.c
 index 564d9fc..05aa018 100644
 index 0a7f7c7..564d9fc 100644
  --- ext/curl/interface.c
  +++ ext/curl/interface.c
 @@ -838,6 +838,7 @@ PHP_MINIT_FUNCTION(curl)
 @@ -838,9 +838,6 @@ PHP_MINIT_FUNCTION(curl)
   	REGISTER_CURL_CONSTANT(CURLM_INTERNAL_ERROR);
   	REGISTER_CURL_CONSTANT(CURLM_OK);
   	REGISTER_CURL_CONSTANT(CURLM_OUT_OF_MEMORY);
 +	REGISTER_CURL_CONSTANT(CURLM_ADDED_ALREADY);
 -#if LIBCURL_VERSION_NUM >= 0x072001 /* Available since 7.32.1 */
 -	REGISTER_CURL_CONSTANT(CURLM_ADDED_ALREADY);
 -#endif
   
   	/* Curl proxy constants */
   	REGISTER_CURL_CONSTANT(CURLPROXY_HTTP);
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Thu Apr 25 08:01:28 2024 UTC