mirror of
https://github.com/xfarrow/dircomp.git
synced 2025-04-13 18:02:19 +02:00
Small improvement
This commit is contained in:
parent
993700ad19
commit
aa6d891d89
@ -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);
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user