if(node != NULL && node->weight < 0.0) { pdebug(print_node("Removing", node)); nodes = g_slist_remove(nodes, node); 
if(node == NULL) {  } else if(node->weight < 0.0 || node->details->online == FALSE || node->details->type == node_ping) { /* 			pdebug(print_node("Removing", node)); */ /* 			nodes = g_slist_remove(nodes, node); */ /* 			lpc--; */ } else { max_valid_nodes++; 
stage1(GSListPtr nodes){	int lpc = 0;	// filter out unavailable nodes	slist_iter(		node, node_t, nodes, lpc,		if(node != NULL && node->weight < 0.0) {			pdebug(print_node("Removing", node));			nodes = g_slist_remove(nodes, node);		}		);	node_list = nodes;	apply_node_constraints(cons_list, node_list, rsc_list);	return TRUE;} 
8182	/local/tlutelli/issta_data/temp/c/2005_temp/2005/8182/a3ce75677d1dbba44868d0c952600abe4b59a8cb/pengine.c/clean/crm/pengine/pengine.c