} else if(node->weight < 0.0 || node->details->online == FALSE || node->details->type == node_ping) {    } else {
} else if(node->weight >= 0.0 && node->details->online && node->details->type == node_member) {
stage1(GSListPtr nodes){	int lpc = 0;	// filter out unavailable nodes	slist_iter(		node, node_t, node_list, lpc,		pdebug_action(print_node("Before", node, FALSE));		);		slist_iter(		node, node_t, nodes, lpc,		if(node == NULL) {			// error		} else if(node->weight < 0.0			  || node->details->online == FALSE			  || node->details->type == node_ping) {/* 			pdebug_action(print_node("Removing", node)); *//* 			nodes = g_slist_remove(nodes, node); *//* 			lpc--; */		} else {			max_valid_nodes++;		}			);	node_list = nodes;	apply_node_constraints(node_cons_list, node_list, rsc_list);	return TRUE;} 