g_slist_append(rsc_lh->constraints, cons); 
if(rsc_lh == NULL) { cl_log(LOG_ERR, "LHS of rsc_to_node (%s) is NULL", cons->id); continue; }  GSListPtr rsc_cons_list = cons->rsc_lh->constraints; rsc_lh->constraints = g_slist_append(rsc_cons_list, cons); 
apply_node_constraints(GSListPtr constraints, 		       GSListPtr resources,		       GSListPtr nodes){  int lpc = 0;	for(lpc = 0; lpc < g_slist_length(constraints); lpc++) {	  rsc_constraint_t *cons = (rsc_constraint_t *)g_slist_nth_data(constraints, lpc);    		// take "lifetime" into account		if(is_active(cons) == FALSE) {			// warning			continue;		}    		resource_t *rsc_lh = cons->rsc_lh;		g_slist_append(rsc_lh->constraints, cons);		if(cons->type == rsc_to_rsc) {			// nothing 		} else if(cons->type == rsc_to_node) {			if(cons->node_rh->fixed) {				// warning			} else {				switch(cons->modifier) {					case set:						cons->node_rh->weight = cons->weight;						cons->node_rh->fixed = TRUE;						break;					case inc:						cons->node_rh->weight += cons->weight;						break;					case dec:						cons->node_rh->weight -= cons->weight;						break;				case modifier_none:				  // warning				  break;				  				}			}			/* dont add it to the resource,			 *  the information is in the resouce's node list			 */		} else {			// error		}	}	return TRUE;	}
8182	/local/tlutelli/issta_data/temp/c/2005_temp/2005/8182/db8433868c8c969b4872da3b0ab348b28883713b/pengine.c/buggy/crm/pengine/pengine.c