mirror of
https://github.com/xfarrow/dircomp.git
synced 2025-06-05 21:49:19 +02:00
Update dircomp.c
This commit is contained in:
@ -92,7 +92,7 @@ void print_files_in_directory(char* directory, struct arguments arguments){
|
|||||||
}
|
}
|
||||||
|
|
||||||
// is directory
|
// is directory
|
||||||
if (dir->d_type == DT_DIR)
|
if (dir -> d_type == DT_DIR)
|
||||||
{
|
{
|
||||||
if(arguments.r == true)
|
if(arguments.r == true)
|
||||||
print_files_in_directory(dir -> d_name, arguments); // todo, pass the pointer to reduce memory usage
|
print_files_in_directory(dir -> d_name, arguments); // todo, pass the pointer to reduce memory usage
|
||||||
|
Reference in New Issue
Block a user