mirror of
https://github.com/Tha14/toxic.git
synced 2024-11-23 01:53:02 +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 *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;
|
||||||
|
Loading…
Reference in New Issue
Block a user