aboutsummaryrefslogtreecommitdiffstats
path: root/src/permission.c
diff options
context:
space:
mode:
authorWarren Dukes <warren.dukes@gmail.com>2004-03-03 00:01:43 +0000
committerWarren Dukes <warren.dukes@gmail.com>2004-03-03 00:01:43 +0000
commitac2be0137459ad623a698363786a0763fef127fb (patch)
treea5aa2d44ca1abefe82374201c98585d58605cccd /src/permission.c
parent4aec92fd6ec5d27eed7d5630a48341dde23b80bc (diff)
downloadmpd-ac2be0137459ad623a698363786a0763fef127fb.tar.gz
mpd-ac2be0137459ad623a698363786a0763fef127fb.tar.xz
mpd-ac2be0137459ad623a698363786a0763fef127fb.zip
fix gcc-2.95 compilation errors
git-svn-id: https://svn.musicpd.org/mpd/trunk@172 09075e82-0dd4-0310-85a5-a0d7c8717e4f
Diffstat (limited to 'src/permission.c')
-rw-r--r--src/permission.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/permission.c b/src/permission.c
index fbd6a2855..36c9a39c1 100644
--- a/src/permission.c
+++ b/src/permission.c
@@ -69,7 +69,6 @@ unsigned int parsePermissions(char * string) {
}
void initPermissions() {
- permission_passwords = makeList(free);
char * passwordSets;
char * nextSet;
char * temp;
@@ -78,6 +77,8 @@ void initPermissions() {
char * password;
unsigned int * permission;
+ permission_passwords = makeList(free);
+
permission_default = PERMISSION_READ | PERMISSION_ADD |
PERMISSION_CONTROL | PERMISSION_ADMIN;