Files
ladybird/Userland/Utilities
Tim Schumacher d7797c8bf8 Userland: Treat inet_pton returning 0 as an error
The POSIX man-page states that inet_pton returns 0 if the input is not a
valid IPv4 dotted-decimal string or a valid IPv6 address string. This is
also how it is implemented in SerenityOS.

This means that we should treat a return value of 0 as an error to avoid
using an invalid address (or 0.0.0.0).
2021-05-27 22:56:21 +02:00
..
2021-04-29 22:23:52 +02:00
2021-05-27 15:19:06 +02:00
2021-05-15 23:51:50 +01:00
2021-05-05 15:12:30 +01:00
2021-05-25 13:23:17 +02:00
2021-05-23 11:26:19 +02:00
2021-05-24 00:01:01 +01:00
2021-05-14 22:24:02 +02:00