Skip to content

Commit 0bbea60

Browse files
mpywnikic
authored andcommitted
Fix bug #71694
Exports contants CURLM_ADDED_ALREADY.
1 parent 50b4caf commit 0bbea60

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

NEWS

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,9 @@ PHP NEWS
66
. Fixed bug #71596 (Segmentation fault on ZTS with date function
77
(setlocale)). (Anatol)
88

9+
- Curl:
10+
. Fixed bug #71694 (Support constant CURLM_ADDED_ALREADY). (mpyw)
11+
912
- ODBC:
1013
. Fixed bug #47803, #69526 (Executing prepared statements is succesfull only
1114
for the first two statements). (einavitamar at gmail dot com, Anatol)

ext/curl/interface.c

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -831,6 +831,9 @@ PHP_MINIT_FUNCTION(curl)
831831
REGISTER_CURL_CONSTANT(CURLM_INTERNAL_ERROR);
832832
REGISTER_CURL_CONSTANT(CURLM_OK);
833833
REGISTER_CURL_CONSTANT(CURLM_OUT_OF_MEMORY);
834+
#if LIBCURL_VERSION_NUM >= 0x072001 /* Available since 7.32.1 */
835+
REGISTER_CURL_CONSTANT(CURLM_ADDED_ALREADY);
836+
#endif
834837

835838
/* Curl proxy constants */
836839
REGISTER_CURL_CONSTANT(CURLPROXY_HTTP);

0 commit comments

Comments
 (0)