diff options
author | rwatson <rwatson@FreeBSD.org> | 2004-12-23 00:59:43 +0000 |
---|---|---|
committer | rwatson <rwatson@FreeBSD.org> | 2004-12-23 00:59:43 +0000 |
commit | fd297e39399daf77085922d0d9251b4d460e9d6f (patch) | |
tree | a9bb389459a794c189fc39aaac8b2885e54b2cff /lib/libc/stdlib/strfmon.c | |
parent | 82dbdac8b7ad99e683f1c59e04700706a2ece901 (diff) | |
download | FreeBSD-src-fd297e39399daf77085922d0d9251b4d460e9d6f.zip FreeBSD-src-fd297e39399daf77085922d0d9251b4d460e9d6f.tar.gz |
In soalloc(), simplify the mac_init_socket() handling to remove
unnecessary use of a global variable and simplify the return case.
While here, use ()'s around return values.
In sodealloc(), remove a comment about why we bump the gencnt and
decrement the socket count separately. It doesn't add
substantially to the reading, and clutters the function.
MFC after: 2 weeks
Diffstat (limited to 'lib/libc/stdlib/strfmon.c')
0 files changed, 0 insertions, 0 deletions