summaryrefslogtreecommitdiff
path: root/ext/curl/php_curl.h
diff options
context:
space:
mode:
authorAbyr Valg <valga@abyrga.ru>2019-07-17 21:46:40 +0300
committerNikita Popov <nikita.ppv@gmail.com>2019-07-18 14:40:47 +0200
commitc8c183eb62b666b5e9c92ca2cbf13f5464ae3aa9 (patch)
tree6de8ae21f4af23e9d53d23002e27929c27e20359 /ext/curl/php_curl.h
parentb864abfe23fde5d79a303519674ba83062f89361 (diff)
downloadphp-git-c8c183eb62b666b5e9c92ca2cbf13f5464ae3aa9.tar.gz
Fixed bug #77946
Save multi_info_read() result into easy handle.
Diffstat (limited to 'ext/curl/php_curl.h')
-rw-r--r--ext/curl/php_curl.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/ext/curl/php_curl.h b/ext/curl/php_curl.h
index f94e7d2898..df378ce585 100644
--- a/ext/curl/php_curl.h
+++ b/ext/curl/php_curl.h
@@ -60,6 +60,8 @@ extern zend_module_entry curl_module_entry;
#define PHP_CURL_RETURN 4
#define PHP_CURL_IGNORE 7
+#define SAVE_CURL_ERROR(__handle, __err) (__handle)->err.no = (int) __err;
+
extern int le_curl;
#define le_curl_name "cURL handle"
extern int le_curl_multi_handle;