Fix folder.c warnings when compiling on windows
This commit is contained in:
@@ -91,6 +91,7 @@ static void get_install_dir (char *install_dir, const char *exec_path)
|
||||
}
|
||||
}
|
||||
|
||||
#if defined (_POSIX)
|
||||
static void get_profile_dir (char *profile_dir, const char *home_dir)
|
||||
{
|
||||
snprintf (profile_dir, HCBUFSIZ_TINY - 1, "%s/%s", home_dir, DOT_HASHCAT);
|
||||
@@ -100,6 +101,7 @@ static void get_session_dir (char *session_dir, const char *profile_dir)
|
||||
{
|
||||
snprintf (session_dir, HCBUFSIZ_TINY - 1, "%s/%s", profile_dir, SESSIONS_FOLDER);
|
||||
}
|
||||
#endif
|
||||
|
||||
int count_dictionaries (char **dictionary_files)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user