X-Git-Url: http://git.tuebingen.mpg.de/?a=blobdiff_plain;f=server.c;h=0df82e000bc491d6de9e1333fb3241446674e49d;hb=9f2286ca2fe37031ea297e0c5d326c2f398da309;hp=ea9cc9c003616762a96aa546c381d54417fd34a2;hpb=a5a6446fd1af4a0ad03ef06a3c194d37d6a46acd;p=paraslash.git diff --git a/server.c b/server.c index ea9cc9c0..0df82e00 100644 --- a/server.c +++ b/server.c @@ -232,9 +232,8 @@ void parse_config_or_die(bool reload) if (OPT_GIVEN(USER_LIST)) user_list_file = para_strdup(OPT_STRING_VAL(USER_LIST)); else { - char *home = para_homedir(); + const char *home = get_homedir(); user_list_file = make_message("%s/.paraslash/server.users", home); - free(home); } user_list_init(user_list_file); free(user_list_file);