Small improvement

This commit is contained in:
Alessandro Ferro 2023-04-26 21:50:16 +02:00
parent 993700ad19
commit aa6d891d89
1 changed files with 4 additions and 0 deletions

View File

@ -105,6 +105,10 @@ bool analyze_directories(char* directory_to_analyze_1, char* directory_to_analyz
struct dirent *element;
DIR *directory1, *directory2;
if(strcmp(directory_to_analyze_1, directory_to_analyze_2) == 0){
return true;
}
directory1 = opendir(directory_to_analyze_1);
directory2 = opendir(directory_to_analyze_2);