mirror of
https://github.com/SerenityOS/serenity
synced 2026-05-10 17:12:55 +02:00
Change the name and return type of `IPv6Address::to_deprecated_string()` to `IPv6Address::to_string()` with return type `ErrorOr<String>`. It will now propagate errors that occur when writing to the StringBuilder. There are two users of `to_deprecated_string()` that now use `to_string()`: 1. `Formatted<IPv6Address>`: it now propagates errors. 2. `inet_ntop`: it now sets errno to ENOMEM and returns.
4.9 KiB
4.9 KiB