mirror of
https://github.com/php/php-src.git
synced 2024-11-30 21:35:36 +08:00
Attempt to fix #69643
This commit is contained in:
parent
0437aa2abf
commit
50e08d60b6
@ -2562,9 +2562,9 @@ static int _php_curl_setopt(php_curl *ch, zend_long option, zval *zvalue) /* {{{
|
||||
* use since curl needs a long not an int. */
|
||||
form_error = curl_formadd(&first, &last,
|
||||
CURLFORM_COPYNAME, string_key->val,
|
||||
CURLFORM_NAMELENGTH, (zend_long)string_key->len,
|
||||
CURLFORM_NAMELENGTH, string_key->len,
|
||||
CURLFORM_COPYCONTENTS, postval->val,
|
||||
CURLFORM_CONTENTSLENGTH, (zend_long)Z_STRLEN_P(current),
|
||||
CURLFORM_CONTENTSLENGTH, postval->len,
|
||||
CURLFORM_END);
|
||||
|
||||
if (form_error != CURL_FORMADD_OK) {
|
||||
|
Loading…
Reference in New Issue
Block a user