inet_ntop.c comment

This commit is contained in:
Viktor Szakats 2026-06-30 21:01:20 +02:00
parent 7e2277c80d
commit b52828681c
No known key found for this signature in database

View file

@ -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)