forked from lda/telodendria
Format source code.
This commit is contained in:
parent
4ee66ae3c7
commit
582df63a31
3 changed files with 15 additions and 14 deletions
|
@ -689,7 +689,7 @@ UserDeleteTokens(User * user, char *exempt)
|
|||
}
|
||||
|
||||
int
|
||||
UserGetPrivileges(User *user)
|
||||
UserGetPrivileges(User * user)
|
||||
{
|
||||
if (!user)
|
||||
{
|
||||
|
@ -700,7 +700,7 @@ UserGetPrivileges(User *user)
|
|||
}
|
||||
|
||||
int
|
||||
UserSetPrivileges(User *user, int privileges)
|
||||
UserSetPrivileges(User * user, int privileges)
|
||||
{
|
||||
JsonValue *val;
|
||||
|
||||
|
@ -726,7 +726,7 @@ UserSetPrivileges(User *user, int privileges)
|
|||
}
|
||||
|
||||
int
|
||||
UserDecodePrivileges(JsonValue *val)
|
||||
UserDecodePrivileges(JsonValue * val)
|
||||
{
|
||||
int privileges = USER_NONE;
|
||||
|
||||
|
@ -794,6 +794,7 @@ JsonValue *
|
|||
UserEncodePrivileges(int privileges)
|
||||
{
|
||||
Array *arr = ArrayCreate();
|
||||
|
||||
if (!arr)
|
||||
{
|
||||
return NULL;
|
||||
|
|
Loading…
Reference in a new issue