Date: Fri, 14 Nov 2003 00:09:01 -0800 (PST) From: Hartmut Brandt <harti@FreeBSD.org> To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/lib/libnetgraph internal.h msg.c netgraph.3 sock.c Message-ID: <200311140809.hAE89104004418@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
harti 2003/11/14 00:09:01 PST FreeBSD src repository Modified files: lib/libnetgraph internal.h msg.c netgraph.3 sock.c Log: Use the new defines that include the trailing '\0' in the code. Replace occurences of the magic constant 2 with an offsetof macro call that computes the size of the leading members of the sockaddr. Use strlcpy instead of sprintf where appropriate. Document the new changes in the man page. Revision Changes Path 1.4 +6 -1 src/lib/libnetgraph/internal.h 1.7 +7 -6 src/lib/libnetgraph/msg.c 1.19 +2 -2 src/lib/libnetgraph/netgraph.3 1.5 +13 -13 src/lib/libnetgraph/sock.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200311140809.hAE89104004418>