diff options
Diffstat (limited to 'libshouldbeinlibc/idvec.c')
-rw-r--r-- | libshouldbeinlibc/idvec.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/libshouldbeinlibc/idvec.c b/libshouldbeinlibc/idvec.c index d1fc160d..49b05ca6 100644 --- a/libshouldbeinlibc/idvec.c +++ b/libshouldbeinlibc/idvec.c @@ -1,6 +1,6 @@ /* Routines for vectors of uids/gids - Copyright (C) 1995 Free Software Foundation, Inc. + Copyright (C) 1995, 1996 Free Software Foundation, Inc. Written by Miles Bader <miles@gnu.ai.mit.edu> @@ -167,7 +167,8 @@ idvec_merge_ids (struct idvec *idvec, id_t *ids, unsigned num) if (idvec->ids[i] == *ids) break; if (i == num_old) - err = idvec_add (idvec, *ids++); + err = idvec_add (idvec, *ids); + ids++; } return err; } |