while (current != nullptr) {
if (strcmp (state, current) == 0 //exact match
|| strstr(target, current) != 0 ){//as substring
- ret = smpi_colors[i+1];
- break;
+ ret = smpi_colors[i+1];
+ break;
}
i+=2;
current = smpi_colors[i];
container_t father;
if (TRACE_smpi_is_grouped()){
- father = PJ_container_get (SIMIX_host_self_get_name());
+ father = PJ_container_get(sg_host_self_get_name());
}else{
father = PJ_container_get_root ();
}