int lpc2 = 0;
filter_nodes(resource_t *rsc){	cl_log(LOG_DEBUG, "Filtering nodes... %s", __FUNCTION__);	int lpc2 = 0;	print_resource(rsc, FALSE);		for(lpc2 = 0; lpc2 < g_slist_length(rsc->allowed_nodes); lpc2++) {		node_t *node = g_slist_nth_data(rsc->allowed_nodes, lpc2);		print_node(node);		if(node == NULL) {			cl_log(LOG_ERR, "Invalid NULL node");					} else if(node->weight < 0.0) {			cl_log(LOG_DEBUG, "removing:");			print_node(node);			rsc->allowed_nodes = g_slist_remove(rsc->allowed_nodes,node);		}			}	return TRUE;}