about summary refs log tree commit diff
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>1999-06-25 08:44:36 +0000
committerUlrich Drepper <drepper@redhat.com>1999-06-25 08:44:36 +0000
commit176c4992ba0d2c1cb4d263892e6750737b2db899 (patch)
tree15fd83c99dc7fa675be4d29773dfe2efefcc9240
parent6ae326216f7c26c5bc9c4cd27e3d6e625d049b28 (diff)
downloadglibc-176c4992ba0d2c1cb4d263892e6750737b2db899.tar.gz
glibc-176c4992ba0d2c1cb4d263892e6750737b2db899.tar.xz
glibc-176c4992ba0d2c1cb4d263892e6750737b2db899.zip
Update.
1999-06-25  Andreas Jaeger  <aj@arthur.rhein-neckar.de>

	* nscd/connections.c (nscd_run): Use correct type for optlen variable.
-rw-r--r--ChangeLog4
-rw-r--r--nscd/connections.c2
2 files changed, 5 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index de8a9e0fc3..6195c3a925 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -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>
 
 	* string/bits/string2.h (strnlen): Remove extra prototype.
diff --git a/nscd/connections.c b/nscd/connections.c
index f0b3beeca9..eef2568863 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)