diff options
author | Jakub Jelinek <jakub@redhat.com> | 2004-10-05 12:09:44 +0000 |
---|---|---|
committer | Jakub Jelinek <jakub@redhat.com> | 2004-10-05 12:09:44 +0000 |
commit | ddbf09971df057003d35943a9d7d9d3653a26763 (patch) | |
tree | fabcfc42ea341d284d15e89f1cc5533beac985ff /nscd | |
parent | 09c3bcb4adf312661293d6e41a52a572f6db8241 (diff) | |
download | glibc-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.c | 4 |
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) |