From b52828681c9d604b3e644d28fa84a632e9e37357 Mon Sep 17 00:00:00 2001 From: Viktor Szakats Date: Tue, 30 Jun 2026 21:01:20 +0200 Subject: [PATCH] inet_ntop.c comment --- lib/curlx/inet_ntop.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/curlx/inet_ntop.c b/lib/curlx/inet_ntop.c index 62a1a84c59..751266dbbc 100644 --- a/lib/curlx/inet_ntop.c +++ b/lib/curlx/inet_ntop.c @@ -197,8 +197,8 @@ static char *inet_ntop6(const unsigned char *src, char *dst, size_t size, * Convert a network format address to presentation format. * * Returns pointer to presentation format address (`buf'). - * Returns NULL on error and errno set with the specific - * error, SOCKEAFNOSUPPORT or SOCKEINVAL. + * Returns NULL on error and sockerr set (if not NULL) with the specific error, + * SOCKEAFNOSUPPORT or SOCKEINVAL. */ char *curlx_inet_ntop(int af, const void *src, char *buf, size_t size, int *sockerr)