1
0
Fork 0
mirror of https://github.com/Atmosphere-NX/Atmosphere.git synced 2024-11-22 11:56:40 +00:00

dns.mitm: fix ABORT_UNLESS -> ABORT

This commit is contained in:
Michael Scire 2021-02-01 13:54:55 -08:00 committed by SciresM
parent 135d42ffee
commit ffbdf29c10

View file

@ -57,7 +57,7 @@ namespace ams::mitm::socket::resolver {
switch (ai.ai_family) {
case AF_UNSPEC: ai.ai_family = AF_INET; break;
case AF_INET: ai.ai_family = AF_INET; break;
case AF_INET6: AMS_ABORT_UNLESS("Redirected INET6 not supported"); break;
case AF_INET6: AMS_ABORT("Redirected INET6 not supported"); break;
AMS_UNREACHABLE_DEFAULT_CASE();
}