aboutsummaryrefslogtreecommitdiffstats
path: root/src/permission.c
diff options
context:
space:
mode:
authorSF Markus Elfring <elfring@users.sourceforge.net>2009-10-22 15:10:01 +0200
committerMax Kellermann <max@duempel.org>2009-10-22 17:11:39 +0200
commita153f21315a03b4e703b383e95ac6110e8867efc (patch)
treebaaa281c7ac98e02632787a76b2eeabccc428369 /src/permission.c
parent294aaf7a9000dc45af50fe81d1d8a0b0a60c07ab (diff)
downloadmpd-a153f21315a03b4e703b383e95ac6110e8867efc.tar.gz
mpd-a153f21315a03b4e703b383e95ac6110e8867efc.tar.xz
mpd-a153f21315a03b4e703b383e95ac6110e8867efc.zip
permission: improve const-correctness
Diffstat (limited to '')
-rw-r--r--src/permission.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/permission.c b/src/permission.c
index 7df4e27fc..a65941771 100644
--- a/src/permission.c
+++ b/src/permission.c
@@ -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;