Remove complicated checks after memory allocation and in case of error print to stderr instead. This makes the memory allocation functions more natural to use.
This commit is contained in:
+1
-1
@@ -33,7 +33,7 @@ int count_dictionaries (char **dictionary_files);
|
||||
|
||||
char *first_file_in_directory (const char *path);
|
||||
|
||||
char **scan_directory (hashcat_ctx_t *hashcat_ctx, const char *path);
|
||||
char **scan_directory (const char *path);
|
||||
|
||||
int folder_config_init (hashcat_ctx_t *hashcat_ctx, MAYBE_UNUSED const char *install_folder, MAYBE_UNUSED const char *shared_folder);
|
||||
void folder_config_destroy (hashcat_ctx_t *hashcat_ctx);
|
||||
|
||||
Reference in New Issue
Block a user