for node dest- parents printf next parent of dest- name n- name if n-

1
2
3
4
5
6
7
8
for(node* n = *dest->parents; n; n++) {
printf("next parent of %s: %s %x\n", dest->name, n->name, n);
if (n->visited){
continue;
}
ret += count_skills(n);
}