crm_debug_4("New node weight for %s: %d", new_node->details->uname, new_node->weight);
node_list_and(GListPtr list1, GListPtr list2, gboolean filter){	GListPtr result = NULL;	unsigned lpc = 0;	for(lpc = 0; lpc < g_list_length(list1); lpc++) {		node_t *node = (node_t*)g_list_nth_data(list1, lpc);		node_t *other_node = pe_find_node(list2, node->details->uname);		node_t *new_node = NULL;		if(other_node != NULL) {			new_node = node_copy(node);		}				if(new_node != NULL) {			new_node->weight = merge_weights(				new_node->weight, other_node->weight);						if(filter && new_node->weight < 0) {				crm_free(new_node);				new_node = NULL;			}		}				if(new_node != NULL) {			result = g_list_append(result, new_node);		}	}	return result;}