summaryrefslogtreecommitdiffstats
path: root/lib/msun/src
diff options
context:
space:
mode:
authoriedowse <iedowse@FreeBSD.org>2001-07-14 17:46:52 +0000
committeriedowse <iedowse@FreeBSD.org>2001-07-14 17:46:52 +0000
commitfd51519085562e8eadceb4b8c1060bb99a78e70d (patch)
tree1ce7e63ee8bc933462b19d69c21a2c6f069eb06f /lib/msun/src
parent0f4584e447aa54df33d685dbe649aed0f1f34cba (diff)
downloadFreeBSD-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 'lib/msun/src')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud