com php-src: Fix comment: ext/curl/multi.c

From: Date: Fri, 03 May 2019 14:50:56 +0000
Subject: com php-src: Fix comment: ext/curl/multi.c
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-106026@lists.php.net to get a copy of this message
Commit: 508892e266a97ffbe2a18233d8cf4c964400e675 Author: Christoph M. Becker <cmbecker69@gmx.de> Fri, 3 May 2019 16:43:53 +0200 Parents: fdb16f8c20bf19046027facf14c9caa00b79167c Branches: PHP-7.4 master Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=508892e266a97ffbe2a18233d8cf4c964400e675 Log: Fix comment 0x2d == 45, not 46. However, CURLMOPT_PUSHFUNCTION is actually available as of cURL 7.44.0[1], while we make the respective PHP constants available only as of cURL 7.46.0[2]. [1] <https://curl.haxx.se/libcurl/c/CURLMOPT_PUSHFUNCTION.html> [2] <http://git.php.net/?p=php-src.git;a=blob;f=ext/curl/interface.c;h=fdf855278eef6f32f26c49b54f56aca9bd7007c3;hb=HEAD#l1289> Changed paths: M ext/curl/multi.c Diff: diff --git a/ext/curl/multi.c b/ext/curl/multi.c index 4a11902..bee0583 100644 --- a/ext/curl/multi.c +++ b/ext/curl/multi.c @@ -566,7 +566,7 @@ static int _php_curl_multi_setopt(php_curlm *mh, zend_long option, zval *zvalue, #endif error = curl_multi_setopt(mh->multi, option, zval_get_long(zvalue)); break; -#if LIBCURL_VERSION_NUM > 0x072D00 /* Available since 7.46.0 */ +#if LIBCURL_VERSION_NUM > 0x072D00 /* Available since 7.45.0 */ case CURLMOPT_PUSHFUNCTION: if (mh->handlers->server_push == NULL) { mh->handlers->server_push = ecalloc(1, sizeof(php_curlm_server_push));

« previous php.cvs (#106026) next »