resource_t *rsc_lh = cons->rsc_lh; 
rsc_lh = cons->rsc_lh; 
apply_node_constraints(GListPtr constraints, GListPtr nodes){	crm_verbose("Applying constraints...");	int lpc = 0;	slist_iter(		cons, rsc_to_node_t, constraints, lpc,		crm_debug_action(print_rsc_to_node("Applying", cons, FALSE));		// take "lifetime" into account		if(cons == NULL) {			crm_err("Constraint (%d) is NULL", lpc);			continue;					} else if(is_active(cons) == FALSE) {			crm_info("Constraint (%d) is not active", lpc);			// warning			continue;		}    		resource_t *rsc_lh = cons->rsc_lh;		if(rsc_lh == NULL) {			crm_err("LHS of rsc_to_node (%s) is NULL", cons->id);			continue;		}		cons->rsc_lh->node_cons =			g_list_append(cons->rsc_lh->node_cons, cons);		if(cons->node_list_rh == NULL) {			crm_err("RHS of rsc_to_node (%s) is NULL", cons->id);			continue;		}		crm_debug_action(print_resource("before update", rsc_lh,TRUE));		int llpc = 0;		GListPtr or_list = node_list_or(			rsc_lh->allowed_nodes, cons->node_list_rh, FALSE);				pe_free_shallow(rsc_lh->allowed_nodes);		rsc_lh->allowed_nodes = or_list;		slist_iter(node_rh, node_t, cons->node_list_rh, llpc,			   update_node_weight(cons, node_rh->details->uname,					      rsc_lh->allowed_nodes));		crm_debug_action(print_resource("after update", rsc_lh, TRUE));		);		return TRUE;	}
8182	/local/tlutelli/issta_data/temp/c/2005_temp/2005/8182/eb0085281ab66651b0f60aece48b8c259e578caa/color.c/buggy/crm/pengine/color.c