summary refs log tree commit diff
path: root/nscd
diff options
context:
space:
mode:
authorJakub Jelinek <jakub@redhat.com>2004-10-05 12:09:44 +0000
committerJakub Jelinek <jakub@redhat.com>2004-10-05 12:09:44 +0000
commitddbf09971df057003d35943a9d7d9d3653a26763 (patch)
treefabcfc42ea341d284d15e89f1cc5533beac985ff /nscd
parent09c3bcb4adf312661293d6e41a52a572f6db8241 (diff)
downloadglibc-ddbf09971df057003d35943a9d7d9d3653a26763.tar.gz
glibc-ddbf09971df057003d35943a9d7d9d3653a26763.tar.xz
glibc-ddbf09971df057003d35943a9d7d9d3653a26763.zip
Fix atomic.h warnings on i386 in nscd.
Fix last grouplist patch.
Diffstat (limited to 'nscd')
-rw-r--r--nscd/initgrcache.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/nscd/initgrcache.c b/nscd/initgrcache.c
index 9ba7b89bdf..762167ea19 100644
--- a/nscd/initgrcache.c
+++ b/nscd/initgrcache.c
@@ -140,13 +140,13 @@ addinitgroupsX (struct database_dyn *db, int fd, request_header *req,
 	{
 	  long int inner;
 	  for (inner = 0; inner < prev_start; ++inner)
-	    if ((*groupsp)[inner] == (*groups)[cnt])
+	    if (groups[inner] == groups[cnt])
 	      break;
 
 	  if (inner < prev_start)
 	    ++cnt;
 	  else
-	    (*groupsp)[cnt] = (*groupsp)[--start];
+	    groups[cnt] = groups[--start];
 	}
 
       if (status != NSS_STATUS_TRYAGAIN)