diff options
author | Nikita Popov <nikita.ppv@gmail.com> | 2021-01-15 12:30:54 +0100 |
---|---|---|
committer | Nikita Popov <nikita.ppv@gmail.com> | 2021-01-15 12:33:06 +0100 |
commit | 3e01f5afb1b52fe26a956190296de0192eedeec1 (patch) | |
tree | 77531ec93e3f3cef9891c77b5ca553eb8487f121 /ext/soap/php_http.c | |
parent | e2c8ab7c33ac5328485c43db5080c5bf4911ce38 (diff) | |
download | php-git-3e01f5afb1b52fe26a956190296de0192eedeec1.tar.gz |
Replace zend_bool uses with bool
We're starting to see a mix between uses of zend_bool and bool.
Replace all usages with the standard bool type everywhere.
Of course, zend_bool is retained as an alias.
Diffstat (limited to 'ext/soap/php_http.c')
-rw-r--r-- | ext/soap/php_http.c | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/ext/soap/php_http.c b/ext/soap/php_http.c index 1da286ad87..b14c8cc1a1 100644 --- a/ext/soap/php_http.c +++ b/ext/soap/php_http.c @@ -88,9 +88,9 @@ int basic_authentication(zval* this_ptr, smart_str* soap_headers) /* Additional HTTP headers */ void http_context_headers(php_stream_context* context, - zend_bool has_authorization, - zend_bool has_proxy_authorization, - zend_bool has_cookies, + bool has_authorization, + bool has_proxy_authorization, + bool has_cookies, smart_str* soap_headers) { zval *tmp; @@ -359,11 +359,11 @@ int make_http_soap_request(zval *this_ptr, zend_long redirect_max = 20; char *content_encoding; char *http_msg = NULL; - zend_bool old_allow_url_fopen; + bool old_allow_url_fopen; php_stream_context *context = NULL; - zend_bool has_authorization = 0; - zend_bool has_proxy_authorization = 0; - zend_bool has_cookies = 0; + bool has_authorization = 0; + bool has_proxy_authorization = 0; + bool has_cookies = 0; if (this_ptr == NULL || Z_TYPE_P(this_ptr) != IS_OBJECT) { return FALSE; |