crm_devel("Processing stage 4");
crm_verbose("Assigning nodes to colors");
stage4(GListPtr colors){	crm_devel("Processing stage 4");	slist_iter(		color, color_t, colors, lpc,		crm_devel("assigning node to color %d", color->id);				if(color == NULL) {			crm_err("NULL color detected");			continue;					} else if(color->details->pending == FALSE) {			continue;		}				choose_node_from_list(color);		crm_devel("assigned %s to color %d",			  safe_val5(NULL, color, details, chosen_node, details, uname),			  color->id);		slist_iter(			rsc, resource_t, color->details->allocated_resources, lpc2,			slist_iter(				constraint, rsc_colocation_t, rsc->rsc_cons, lpc,				rsc->fns->rsc_colocation_lh(constraint);				);							);		);	crm_verbose("done");	return TRUE;	}