From c8c183eb62b666b5e9c92ca2cbf13f5464ae3aa9 Mon Sep 17 00:00:00 2001 From: Abyr Valg Date: Wed, 17 Jul 2019 21:46:40 +0300 Subject: Fixed bug #77946 Save multi_info_read() result into easy handle. --- ext/curl/php_curl.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'ext/curl/php_curl.h') 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; -- cgit v1.2.1