node_t *node_tmp = pe_find_node(nodes, id); node_rh = node_copy(node_tmp); cons->rsc_lh->allowed_nodes = g_list_append(cons->rsc_lh->allowed_nodes, node_rh); }  if(node_rh == NULL) {  
crm_err("Node not found - cant update"); 
update_node_weight(rsc_to_node_t *cons, const char *id, GListPtr nodes){	node_t *node_rh = pe_find_node(cons->rsc_lh->allowed_nodes, id);	if(node_rh == NULL) {		node_t *node_tmp = pe_find_node(nodes, id);		node_rh = node_copy(node_tmp);		cons->rsc_lh->allowed_nodes =			g_list_append(cons->rsc_lh->allowed_nodes, node_rh);	}	if(node_rh == NULL) {		// error		return FALSE;	}	if(node_rh->fixed) {		// warning		crm_warn("Constraint %s is irrelevant as the"			 " weight of node %s is fixed as %f.",			 cons->id,			 node_rh->details->id,			 node_rh->weight);		return TRUE;	}		crm_verbose("Constraint %s: node %s weight %s %f.",		      cons->id,		      node_rh->details->id,		      modifier2text(cons->modifier),		      node_rh->weight);		switch(cons->modifier) {		case set:			node_rh->weight = cons->weight;			node_rh->fixed = TRUE;			break;		case inc:			node_rh->weight += cons->weight;			break;		case dec:			node_rh->weight -= cons->weight;			break;		case only:		case modifier_none:			crm_err("Should not be here");			break;	}	return TRUE;}
8182	/local/tlutelli/issta_data/temp/c/2005_temp/2005/8182/9ae64f1ffa98f2e13d291806f0ba337b6979eadf/color.c/buggy/crm/pengine/color.c