mirror of
https://github.com/Atmosphere-NX/Atmosphere.git
synced 2024-11-28 01:20:58 +01:00
dns.mitm: fix wildcardcmp failure case (#1539)
This commit is contained in:
parent
c02f32f1bf
commit
8a6afe7909
@ -36,7 +36,7 @@ namespace ams::mitm::socket::resolver {
|
||||
if (!*string) {
|
||||
if (!*pattern) return 1;
|
||||
if ('*' == *pattern) return 1;
|
||||
if (!*s) return 0;
|
||||
if (!s || !*s) return 0;
|
||||
string = s++;
|
||||
pattern = w;
|
||||
continue;
|
||||
|
Loading…
Reference in New Issue
Block a user