Skip to content

Commit

Permalink
Fix warning
Browse files Browse the repository at this point in the history
  • Loading branch information
smalyshev committed Jun 28, 2021
1 parent 892674e commit 1900137
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ext/filter/logical_filters.c
Expand Up @@ -628,8 +628,8 @@ void php_filter_validate_url(PHP_INPUT_FILTER_PARAM_DECL) /* {{{ */
RETURN_VALIDATION_FAILED
}

if (url->user != NULL && !is_userinfo_valid(url->user)
|| url->pass != NULL && !is_userinfo_valid(url->pass)
if ((url->user != NULL && !is_userinfo_valid(url->user))
|| (url->pass != NULL && !is_userinfo_valid(url->pass))
) {
php_url_free(url);
RETURN_VALIDATION_FAILED
Expand Down

0 comments on commit 1900137

Please sign in to comment.