Skip to content

Commit

Permalink
typo
Browse files Browse the repository at this point in the history
  • Loading branch information
ondrejv2 committed Oct 21, 2024
1 parent 95e3c77 commit 427838a
Showing 1 changed file with 10 additions and 10 deletions.
20 changes: 10 additions & 10 deletions src/lib/idmap/sss_idmap.c
Original file line number Diff line number Diff line change
Expand Up @@ -201,16 +201,6 @@ const char *idmap_error_string(enum idmap_error_code err)
}
}

bool is_principal_sid(const char *str)
{
return is_str_sid(str, 4);
}

bool is_domain_sid(const char *str)
{
return is_str_sid(str, 3);
}

bool is_str_sid(const char *sid, int count)
{
const char *p;
Expand Down Expand Up @@ -247,6 +237,16 @@ bool is_str_sid(const char *sid, int count)
return true;
}

bool is_principal_sid(const char *str)
{
return is_str_sid(str, 4);
}

bool is_domain_sid(const char *str)
{
return is_str_sid(str, 3);
}

enum idmap_error_code sss_idmap_init(idmap_alloc_func *alloc_func,
void *alloc_pvt,
idmap_free_func *free_func,
Expand Down

0 comments on commit 427838a

Please sign in to comment.