mirror of
https://github.com/php/php-src.git
synced 2026-04-17 04:51:03 +02:00
Fix unsigned comparison
This commit is contained in:
@@ -157,7 +157,7 @@ static php_stream *php_stream_url_wrap_http_ex(php_stream_wrapper *wrapper,
|
||||
if (!context ||
|
||||
(tmpzval = php_stream_context_get_option(context, wrapper->wops->label, "proxy")) == NULL ||
|
||||
Z_TYPE_P(tmpzval) != IS_STRING ||
|
||||
Z_STRLEN_P(tmpzval) <= 0) {
|
||||
Z_STRLEN_P(tmpzval) == 0) {
|
||||
php_url_free(resource);
|
||||
return php_stream_open_wrapper_ex(path, mode, REPORT_ERRORS, NULL, context);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user