diff options
author | datibbaw <datibbaw@php.net> | 2013-11-18 12:06:27 +0800 |
---|---|---|
committer | Tjerk Meesters <datibbaw@php.net> | 2014-02-28 18:27:22 +0800 |
commit | 488e64dbe4052eafd8b8bb5dd07b0c9ea6fa97f3 (patch) | |
tree | 5bbf5e28192e7805491c8c6c7abf0d8e376e24b9 /ext/curl/php_curl.h | |
parent | 5fc7382a57550c8997cf00c0839916c78766bfe5 (diff) | |
download | php-git-488e64dbe4052eafd8b8bb5dd07b0c9ea6fa97f3.tar.gz |
Allow NULL as value for CURLOPT_CUSTOMREQUEST option.
Added test case.
Refactored the code to isolate the string handling. Fixed return values to use SUCCESS and FAILURE.
Removed unused error variable.
Indentation fix.
Removed the ugly goto.
Diffstat (limited to 'ext/curl/php_curl.h')
-rw-r--r-- | ext/curl/php_curl.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/curl/php_curl.h b/ext/curl/php_curl.h index e02a890b0b..96edb9ae03 100644 --- a/ext/curl/php_curl.h +++ b/ext/curl/php_curl.h @@ -198,7 +198,7 @@ typedef struct { void _php_curl_cleanup_handle(php_curl *); void _php_curl_multi_cleanup_list(void *data); -int _php_curl_verify_handlers(php_curl *ch, int reporterror TSRMLS_DC); +void _php_curl_verify_handlers(php_curl *ch, int reporterror TSRMLS_DC); void curlfile_register_class(TSRMLS_D); PHP_CURL_API extern zend_class_entry *curl_CURLFile_class; |