mirror of
https://github.com/Atmosphere-NX/Atmosphere
synced 2024-12-22 20:31:14 +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 (!*string) {
|
||||||
if (!*pattern) return 1;
|
if (!*pattern) return 1;
|
||||||
if ('*' == *pattern) return 1;
|
if ('*' == *pattern) return 1;
|
||||||
if (!*s) return 0;
|
if (!s || !*s) return 0;
|
||||||
string = s++;
|
string = s++;
|
||||||
pattern = w;
|
pattern = w;
|
||||||
continue;
|
continue;
|
||||||
|
|
Loading…
Reference in a new issue