crypt32: Fix return value in error cases (clang).

This commit is contained in:
Juan Lang 2011-02-15 11:12:41 -08:00 committed by Alexandre Julliard
parent a7534610a3
commit bcd14a1822
1 changed files with 2 additions and 1 deletions

View File

@ -3213,7 +3213,8 @@ static BOOL match_domain_component(LPCWSTR allowed_component, DWORD allowed_len,
break;
}
}
matches = tolowerW(*allowed_ptr) == tolowerW(*server_ptr);
if (matches)
matches = tolowerW(*allowed_ptr) == tolowerW(*server_ptr);
}
if (matches && server_ptr - server_component < server_len)
{