summaryrefslogtreecommitdiffstats
path: root/src/sss_client/nss_compat.h
diff options
context:
space:
mode:
authorSumit Bose <sbose@redhat.com>2010-10-07 13:15:52 +0200
committerStephen Gallagher <sgallagh@redhat.com>2010-10-13 09:49:38 -0400
commit60dceaee2014822717a3f22e1b65b228e20cc5f0 (patch)
treee09cc2489670ce17f20d618ca6be3d48999c0044 /src/sss_client/nss_compat.h
parent619bd403265ce0880989ba6f8324b010949851bc (diff)
downloadsssd-60dceaee2014822717a3f22e1b65b228e20cc5f0.tar.gz
sssd-60dceaee2014822717a3f22e1b65b228e20cc5f0.tar.xz
sssd-60dceaee2014822717a3f22e1b65b228e20cc5f0.zip
Avoid a global variable in netgroup client.
The structure which is used to store the result also provides elements to store a context for the netgroup enumeration call.
Diffstat (limited to 'src/sss_client/nss_compat.h')
-rw-r--r--src/sss_client/nss_compat.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/sss_client/nss_compat.h b/src/sss_client/nss_compat.h
index 37871c230..97fbfebb0 100644
--- a/src/sss_client/nss_compat.h
+++ b/src/sss_client/nss_compat.h
@@ -57,7 +57,7 @@ struct __netgrent
{
char *cursor;
unsigned long int position;
- } insertedname; /* added name to union to avoid warning */
+ } idx; /* added name to union to avoid warning */
int first;
struct name_list *known_groups;
struct name_list *needed_groups;