1
0
mirror of https://github.com/Tha14/toxic.git synced 2024-11-22 21:03:02 +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 home[NSS_BUFLEN_PASSWD];
home[0] = '\0';
char home[NSS_BUFLEN_PASSWD] = {0};
get_home_dir(home, sizeof(home));
char *user_config_dir;