Skip to content

Commit 1900137

Browse files
committed
Fix warning
1 parent 892674e commit 1900137

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

ext/filter/logical_filters.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -628,8 +628,8 @@ void php_filter_validate_url(PHP_INPUT_FILTER_PARAM_DECL) /* {{{ */
628628
RETURN_VALIDATION_FAILED
629629
}
630630

631-
if (url->user != NULL && !is_userinfo_valid(url->user)
632-
|| url->pass != NULL && !is_userinfo_valid(url->pass)
631+
if ((url->user != NULL && !is_userinfo_valid(url->user))
632+
|| (url->pass != NULL && !is_userinfo_valid(url->pass))
633633
) {
634634
php_url_free(url);
635635
RETURN_VALIDATION_FAILED

0 commit comments

Comments
 (0)