mirror of
https://github.com/Atmosphere-NX/Atmosphere.git
synced 2024-11-08 05:01:44 +00:00
dns.mitm: fix wildcardcmp failure case (#1539)
This commit is contained in:
parent
c02f32f1bf
commit
8a6afe7909
1 changed files with 1 additions and 1 deletions
|
@ -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 a new issue