dns.mitm: support % in hosts file as stand-in for environment identifier

This commit is contained in:
Michael Scire authored and SciresM committed 2021-02-02 11:41:49 -08:00
1 parent ffbdf29c10
commit 6950989552
7 files changed
+148 -8

No files matched your search

@@ -31,7 +31,7 @@ namespace ams::util {
}
template<typename T>
int Strncmp(const T *lhs, const T *rhs, int count) {
constexpr int Strncmp(const T *lhs, const T *rhs, int count) {
AMS_ASSERT(lhs != nullptr);
AMS_ASSERT(rhs != nullptr);
AMS_ABORT_UNLESS(count >= 0);
@@ -50,7 +50,7 @@ namespace ams::util {
}
template<typename T>
int Strnicmp(const T *lhs, const T *rhs, int count) {
constexpr int Strnicmp(const T *lhs, const T *rhs, int count) {
AMS_ASSERT(lhs != nullptr);
AMS_ASSERT(rhs != nullptr);
AMS_ABORT_UNLESS(count >= 0);