1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-26 12:47:45 +00:00

LibTLS: Show enum value instead of underlying value where possible

This commit is contained in:
stelar7 2023-04-14 00:45:32 +02:00 committed by Sam Atkins
parent 5853d9642a
commit 9059694216
4 changed files with 93 additions and 10 deletions

View file

@ -412,7 +412,7 @@ ssize_t TLSv12::handle_handshake_payload(ReadonlyBytes vbuffer)
}
break;
default:
dbgln("message type not understood: {}", to_underlying(type));
dbgln("message type not understood: {}", enum_to_string(type));
return (i8)Error::NotUnderstood;
}