if(node1->group_id >= 0) { nb++; }
}
- if(show_hits) {
+ if(list2) {
for(node2 = list2; node2; node2 = node2->next) {
if(node2->group_id >= 0) { nb++; }
}
}
}
- if(show_hits) {
+ if(list2) {
for(node2 = list2; node2; node2 = node2->next) {
if(node2->group_id >= 0) {
nodes[n++] = node2;
}
}
- print_result(list1, list2);
-
- file_list_delete(list1);
-
if(dirname2) {
+ print_result(list1, list2);
+ file_list_delete(list1);
file_list_delete(list2);
+ } else {
+ print_result(list1, 0);
+ file_list_delete(list1);
}
}