Date: Wed, 24 Jul 2002 11:58:33 -0700 (PDT) From: Hajimu UMEMOTO <ume@FreeBSD.org> To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/lib/libc/net getnameinfo.c Message-ID: <200207241858.g6OIwXVQ070999@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
ume 2002/07/24 11:58:32 PDT
Modified files:
lib/libc/net getnameinfo.c
Log:
- ntohs() returns unsigned value.
- use strlcpy.
- snprintf can return negative value, so cope with it.
- tweak interface index on interface locals (ff01::/16).
- removed unused macros.
- removed a macro that uses only once (in a trivial context).
- explicitly say goodbye to ENI_xxx.
- constify struct afd.
Obtained from: KAME
MFC after: 1 week
Revision Changes Path
1.12 +56 -59 src/lib/libc/net/getnameinfo.c
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe cvs-all" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200207241858.g6OIwXVQ070999>
