1
0
mirror of https://github.com/Tha14/toxic.git synced 2024-11-26 22:13:26 +01:00

Update configdir.c

This commit is contained in:
dantok 2015-01-25 21:53:13 +01:00
parent eeeaf8d707
commit c8a4f88ff3

View File

@ -66,8 +66,7 @@ void get_home_dir(char *home, int size)
*/ */
char *get_user_config_dir(void) char *get_user_config_dir(void)
{ {
char home[NSS_BUFLEN_PASSWD]; char home[NSS_BUFLEN_PASSWD] = {0};
home[0] = '\0';
get_home_dir(home, sizeof(home)); get_home_dir(home, sizeof(home));
char *user_config_dir; char *user_config_dir;