} new_node = node_copy(node); other_node = (node_t*)g_slist_nth_data(list2, index); if(node->weight < 0 || other_node->weight < 0) { 
  } else if(node->weight < 0 || other_node->weight < 0) { 
node_list_and(GSListPtr list1, GSListPtr list2){	GSListPtr result = g_slist_alloc();	int lpc = 0;	// merge node weights	for(lpc = 0; lpc < g_slist_length(list2); lpc++) {		node_t *new_node = NULL;		node_t *other_node = NULL;		node_t *node = (node_t*)g_slist_nth_data(list2, lpc);		int index = g_slist_index(result, node);		if(index < 0) {			continue;		}		new_node = node_copy(node);		other_node = (node_t*)g_slist_nth_data(list2, index);		if(node->weight < 0 || other_node->weight < 0) {			new_node->weight = -1;		} else {			new_node->weight = 			  (node->weight + other_node->weight) / 2.0;		}		g_slist_append(result, new_node);    	}   	return result;}
8182	/local/tlutelli/issta_data/temp/c/2005_temp/2005/8182/db8433868c8c969b4872da3b0ab348b28883713b/pengine.c/buggy/crm/pengine/pengine.c