1
0
mirror of https://github.com/samba-team/samba.git synced 2025-12-12 12:23:50 +03:00

Use pidl for _lsa_LookupPrivDisplayName().

Guenther
This commit is contained in:
Günther Deschner
2008-02-11 11:57:29 +01:00
parent 73e34102b6
commit c866403201
3 changed files with 28 additions and 52 deletions

View File

@@ -317,6 +317,10 @@ const char* get_privilege_dispname( const char *name )
{
int i;
if (!name) {
return NULL;
}
for ( i=0; !se_priv_equal(&privs[i].se_priv, &se_priv_end); i++ ) {
if ( strequal( privs[i].name, name ) ) {