]> granicus.if.org Git - php/commit
Use curl_mime_*() functions if available
authorChristoph M. Becker <cmbecker69@gmx.de>
Mon, 15 Apr 2019 16:24:59 +0000 (18:24 +0200)
committerChristoph M. Becker <cmbecker69@gmx.de>
Mon, 9 Dec 2019 09:24:49 +0000 (10:24 +0100)
commite1202733a50eada07c1b0b934f626aaf2d3179dc
tree22cfd87c281089185bf22dcebd419467a1e893fb
parentb5d2cbe02739a0c9b16e7b37ce44e71d1d657daa
Use curl_mime_*() functions if available

As of curl 7.56.0, `curl_formadd()` is deprecated in favor of
`curl_mime_*()`, so we use the latter if available.

(cherry picked from commit a83b68ba56714bfa06737a61af795460caa4a105)
ext/curl/interface.c