mirror of git://sourceware.org/git/glibc.git
Update.
1999-06-25 Andreas Jaeger <aj@arthur.rhein-neckar.de> * nscd/connections.c (nscd_run): Use correct type for optlen variable.
This commit is contained in:
parent
6ae326216f
commit
176c4992ba
|
|
@ -1,3 +1,7 @@
|
||||||
|
1999-06-25 Andreas Jaeger <aj@arthur.rhein-neckar.de>
|
||||||
|
|
||||||
|
* nscd/connections.c (nscd_run): Use correct type for optlen variable.
|
||||||
|
|
||||||
1999-06-25 Ulrich Drepper <drepper@cygnus.com>
|
1999-06-25 Ulrich Drepper <drepper@cygnus.com>
|
||||||
|
|
||||||
* string/bits/string2.h (strnlen): Remove extra prototype.
|
* string/bits/string2.h (strnlen): Remove extra prototype.
|
||||||
|
|
|
||||||
|
|
@ -410,7 +410,7 @@ nscd_run (void *p)
|
||||||
if (secure_in_use)
|
if (secure_in_use)
|
||||||
{
|
{
|
||||||
struct ucred caller;
|
struct ucred caller;
|
||||||
int optlen = sizeof (caller);
|
socklen_t optlen = sizeof (caller);
|
||||||
|
|
||||||
if (getsockopt (fd, SOL_SOCKET, SO_PEERCRED,
|
if (getsockopt (fd, SOL_SOCKET, SO_PEERCRED,
|
||||||
&caller, &optlen) < 0)
|
&caller, &optlen) < 0)
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue