]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Correctly set the return length regardless of the relative size of the
authorwollman <wollman@FreeBSD.org>
Mon, 31 Aug 1998 15:34:55 +0000 (15:34 +0000)
committerwollman <wollman@FreeBSD.org>
Mon, 31 Aug 1998 15:34:55 +0000 (15:34 +0000)
commit639269dc951f914089f529a5d2d112128b8c35fc
tree4934195227222e47630e19e3c926d70e6f8f58d7
parent1d273f83401112b34167b08b1a4739ab21e9dde4
Correctly set the return length regardless of the relative size of the
user's buffer.  Simplify the logic a bit.  (Can we have a version of
min() for size_t?)
sys/kern/uipc_socket.c