} else if(rsc->cur_node_id == NULL) { cl_log(LOG_INFO, "Starting Resource %s on %s", rsc->id, rsc->color->details->chosen_node->details->id);
} else if(safe_val4(NULL, rsc, cur_node, details, id) == NULL) { rsc->stop->optional = TRUE; rsc->start->node = safe_val4(NULL, rsc, color, details, chosen_node);
stage5(GSListPtr resources){	int lpc = 0;	slist_iter(		rsc, resource_t, resources, lpc,		if(rsc->runnable == FALSE) {			cl_log(LOG_ERR,			       "Resource %s was not runnable",			       rsc->id);			if(rsc->cur_node_id != NULL) {								cl_log(LOG_WARNING,				       "Stopping Resource (%s) on node %s",				       rsc->id,				       rsc->cur_node_id);			}		} else if(rsc->color->details->chosen_node == NULL) {			cl_log(LOG_ERR,			       "Could not allocate Resource %s",			       rsc->id);			if(rsc->cur_node_id != NULL) {								cl_log(LOG_WARNING,				       "Stopping Resource (%s) on node %s",				       rsc->id,				       rsc->cur_node_id);			}					} else if(safe_str_eq(rsc->cur_node_id,				      rsc->color->details->chosen_node->details->id)){			cl_log(LOG_DEBUG,			       "No change for Resource %s (%s)",			       rsc->id,			       rsc->cur_node_id);					} else if(rsc->cur_node_id == NULL) {			cl_log(LOG_INFO,			       "Starting Resource %s on %s",			       rsc->id,			       rsc->color->details->chosen_node->details->id);					} else {			cl_log(LOG_INFO,			       "Moving Resource %s from %s to %s",			       rsc->id,			       rsc->cur_node_id,			       rsc->color->details->chosen_node->details->id);		}		);			return TRUE;}