diff options
| author | Simo Sorce <simo@redhat.com> | 2013-01-07 22:22:42 -0500 |
|---|---|---|
| committer | Simo Sorce <simo@redhat.com> | 2013-01-08 16:00:50 -0500 |
| commit | 2eaf2045b5b55cdaff6ae5704225cf9a75b16950 (patch) | |
| tree | 4310376611d96e15ade8a9d0c27100c0da9e6c0a /src/providers/ldap/sdap_async_initgroups_ad.c | |
| parent | fa0dba8f5536537a69d47218f2372d0f2582c12e (diff) | |
| download | sssd-2eaf2045b5b55cdaff6ae5704225cf9a75b16950.tar.gz sssd-2eaf2045b5b55cdaff6ae5704225cf9a75b16950.tar.bz2 sssd-2eaf2045b5b55cdaff6ae5704225cf9a75b16950.zip | |
Remove unhelpful vtable from sss_cache
Using a vtable like this has various drawacks, including the fact prototypes
are not checked by the compiler so the code could silently break and still
compile fine (in fact I found this out changing one of the prototypes).
A switch statement is also better because it catches if the enum changed and
won't risk allowing to access the table out of bounds.
Diffstat (limited to 'src/providers/ldap/sdap_async_initgroups_ad.c')
0 files changed, 0 insertions, 0 deletions
