Skip to content

Commit

Permalink
Fix warning
Browse files Browse the repository at this point in the history
(cherry picked from commit 1900137)
  • Loading branch information
smalyshev authored and cmb69 committed Jun 28, 2021
1 parent 1a01f78 commit 7bab67c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ext/filter/logical_filters.c
Expand Up @@ -632,8 +632,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 7bab67c

Please sign in to comment.