rem: if (gid == gi->group[i])
add: if (gid == gi.group[i])
context: group_member (gid_t gid){#ifndef HAVE_GETGROUPS  return ((gid == getgid ()) || (gid == getegid ()));#else  int i;  int found;  struct group_info *gi;  gi = get_group_info ();  if (gi == NULL)    return 0;  /* Search through the list looking for GID. */  found = 0;  for (i = 0; i < gi->n_groups; i++)    {      if (gid == gi->group[i])	{	  found = 1;	  break;	}    }  free_group_info (gi);  return found;#endif /* HAVE_GETGROUPS */}