lpc2 = 0;
lpc2 = -1;
filter_nodes(resource_t *rsc){	int lpc2 = 0;	crm_debug_action(print_resource("Filtering nodes for", rsc, FALSE));	slist_iter(		node, node_t, rsc->allowed_nodes, lpc2,		if(node == NULL) {			crm_err("Invalid NULL node");					} else if(node->weight < 0.0			  || node->details->online == FALSE			  || node->details->type == node_ping) {			crm_debug_action(print_node("Removing", node, FALSE));			rsc->allowed_nodes =				g_list_remove(rsc->allowed_nodes,node);			crm_free(node);			lpc2 = 0; // restart the loop		}		);	return TRUE;}