diff options
author | Nikita Popov <nikita.ppv@gmail.com> | 2019-07-18 14:42:20 +0200 |
---|---|---|
committer | Nikita Popov <nikita.ppv@gmail.com> | 2019-07-18 14:42:20 +0200 |
commit | be7f405f6bf3b4532f844fe9aeb92aea9f9ca02c (patch) | |
tree | 6397bff7ee88080e49ee9857b3aa50ef97e485b1 /ext/curl/php_curl.h | |
parent | 55d34f7023ec8a3632423c14c03a7ac6e0693143 (diff) | |
parent | 4a9f78f9d79ef999ba51a22ee03da8bdd92356f3 (diff) | |
download | php-git-be7f405f6bf3b4532f844fe9aeb92aea9f9ca02c.tar.gz |
Merge branch 'PHP-7.3' into PHP-7.4
Diffstat (limited to 'ext/curl/php_curl.h')
-rw-r--r-- | ext/curl/php_curl.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/ext/curl/php_curl.h b/ext/curl/php_curl.h index 359d6058ef..5d93f16c03 100644 --- a/ext/curl/php_curl.h +++ b/ext/curl/php_curl.h @@ -58,6 +58,9 @@ extern zend_module_entry curl_module_entry; #define PHP_CURL_RETURN 4 #define PHP_CURL_IGNORE 7 +#define SAVE_CURL_ERROR(__handle, __err) \ + do { (__handle)->err.no = (int) __err; } while (0) + extern int le_curl; #define le_curl_name "cURL handle" extern int le_curl_multi_handle; |