* nscd/connections.c (handle_request): Use correct type for optlen
	variable.
This commit is contained in:
Ulrich Drepper 1999-06-24 23:15:52 +00:00
parent e22206f336
commit 1709e27af7
2 changed files with 4 additions and 1 deletions

View File

@ -1,5 +1,8 @@
1999-06-24 Ulrich Drepper <drepper@cygnus.com>
* nscd/connections.c (handle_request): Use correct type for optlen
variable.
* misc/tst-efgcvt.c (ecvt_tests): Test 92.0 with ndigits == 16.
* misc/efgcvt_r.c (ecvt_r): Limit ndigits before passing it to fcvt_r.

View File

@ -324,7 +324,7 @@ cannot handle old request version %d; current version is %d"),
else
{
struct ucred caller;
int optlen = sizeof (caller);
socklen_t optlen = sizeof (caller);
if (getsockopt (fd, SOL_SOCKET, SO_PEERCRED, &caller, &optlen) < 0)
{