From: Ulrich Drepper Date: Fri, 25 Jun 1999 08:44:36 +0000 (+0000) Subject: Update. X-Git-Tag: upstream/2.20~20102 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=176c4992ba0d2c1cb4d263892e6750737b2db899;p=platform%2Fupstream%2Flinaro-glibc.git Update. 1999-06-25 Andreas Jaeger * nscd/connections.c (nscd_run): Use correct type for optlen variable. --- diff --git a/ChangeLog b/ChangeLog index de8a9e0..6195c3a 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +1999-06-25 Andreas Jaeger + + * nscd/connections.c (nscd_run): Use correct type for optlen variable. + 1999-06-25 Ulrich Drepper * string/bits/string2.h (strnlen): Remove extra prototype. diff --git a/nscd/connections.c b/nscd/connections.c index f0b3bee..eef2568 100644 --- a/nscd/connections.c +++ b/nscd/connections.c @@ -410,7 +410,7 @@ nscd_run (void *p) if (secure_in_use) { struct ucred caller; - int optlen = sizeof (caller); + socklen_t optlen = sizeof (caller); if (getsockopt (fd, SOL_SOCKET, SO_PEERCRED, &caller, &optlen) < 0)