aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>1999-06-24 23:15:52 +0000
committerUlrich Drepper <drepper@redhat.com>1999-06-24 23:15:52 +0000
commit1709e27af74b494c7316a8dc7678e764429b6dbb (patch)
tree91a1755e7302cf34797f84494ae046638ea53c3f
parente22206f336cee36e8ab77136d798828c723b4c8d (diff)
downloadglibc-1709e27af74b494c7316a8dc7678e764429b6dbb.zip
glibc-1709e27af74b494c7316a8dc7678e764429b6dbb.tar.gz
glibc-1709e27af74b494c7316a8dc7678e764429b6dbb.tar.bz2
Update.
* nscd/connections.c (handle_request): Use correct type for optlen variable.
-rw-r--r--ChangeLog3
-rw-r--r--nscd/connections.c2
2 files changed, 4 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 529f2da..1c91111 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -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.
diff --git a/nscd/connections.c b/nscd/connections.c
index d40d987..f0b3bee 100644
--- a/nscd/connections.c
+++ b/nscd/connections.c
@@ -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)
{