From ac2be0137459ad623a698363786a0763fef127fb Mon Sep 17 00:00:00 2001 From: Warren Dukes Date: Wed, 3 Mar 2004 00:01:43 +0000 Subject: fix gcc-2.95 compilation errors git-svn-id: https://svn.musicpd.org/mpd/trunk@172 09075e82-0dd4-0310-85a5-a0d7c8717e4f --- src/permission.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/permission.c') 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; -- cgit v1.2.3