Update packages.c

This commit is contained in:
DarN
2021-04-28 16:05:06 +02:00
committed by GitHub
parent 99849ccd77
commit dd31e05fde
+1 -1
View File
@@ -14,7 +14,7 @@ static uint32_t get_num_elements(const char* dirname, int type) {
if(dirp == NULL)
return 0;
while((entry = readdir(dirp)) != NULL){
while((entry = readdir(dirp)) != NULL) {
if(entry->d_type == type)
++num_elements;
}