mirror of
https://github.com/Tha14/toxic.git
synced 2024-11-26 15:13:27 +01:00
Update configdir.c
This commit is contained in:
parent
eeeaf8d707
commit
c8a4f88ff3
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user