Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
M
mpd
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Иван Мажукин
mpd
Commits
a153f213
Commit
a153f213
authored
Oct 22, 2009
by
SF Markus Elfring
Committed by
Max Kellermann
Oct 22, 2009
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
permission: improve const-correctness
parent
294aaf7a
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
permission.c
src/permission.c
+1
-1
permission.h
src/permission.h
+1
-1
No files found.
src/permission.c
View file @
a153f213
...
...
@@ -111,7 +111,7 @@ void initPermissions(void)
permission_default
=
parsePermissions
(
param
->
value
);
}
int
getPermissionFromPassword
(
char
*
password
,
unsigned
*
permission
)
int
getPermissionFromPassword
(
char
const
*
password
,
unsigned
*
permission
)
{
bool
found
;
gpointer
key
,
value
;
...
...
src/permission.h
View file @
a153f213
...
...
@@ -27,7 +27,7 @@
#define PERMISSION_ADMIN 8
int
getPermissionFromPassword
(
char
*
password
,
unsigned
*
permission
);
int
getPermissionFromPassword
(
char
const
*
password
,
unsigned
*
permission
);
void
finishPermissions
(
void
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment