diff options
author | iedowse <iedowse@FreeBSD.org> | 2001-07-14 17:46:52 +0000 |
---|---|---|
committer | iedowse <iedowse@FreeBSD.org> | 2001-07-14 17:46:52 +0000 |
commit | fd51519085562e8eadceb4b8c1060bb99a78e70d (patch) | |
tree | 1ce7e63ee8bc933462b19d69c21a2c6f069eb06f /share/man/man7/firewall.7 | |
parent | 0f4584e447aa54df33d685dbe649aed0f1f34cba (diff) | |
download | FreeBSD-src-fd51519085562e8eadceb4b8c1060bb99a78e70d.zip FreeBSD-src-fd51519085562e8eadceb4b8c1060bb99a78e70d.tar.gz |
This is a selection of essentially cosmetic changes:
- Use '\0' for a char instead of NULL.
- Explicitly compare against the global `nullstring' to determine if
a non-NULL uaddr is not malloc'd.
- Remove some unnecessary casting of the argument to free().
- In rpcbproc_callit_com(), move the freeing of m_uaddr to the
cleanup code at the end of the function.
- To avoid confusion and possible alignment problems, change
netbufdup() to allocate the netbuf struct and the sockaddr buffer
separately, and change netbuffree() accordingly. This makes it
produce netbufs that are consistent with all other netbufs in
rpcbind.
Diffstat (limited to 'share/man/man7/firewall.7')
0 files changed, 0 insertions, 0 deletions