cvs commit: src/lib/libnetgraph internal.h msg.c netgraph.3 sock.c

Hartmut Brandt harti at FreeBSD.org
Fri Nov 14 00:09:02 PST 2003


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


More information about the cvs-src mailing list