y_node: change add node, handle ::1 with set node

This commit is contained in:
2025-10-18 21:32:18 +02:00
parent 928932b1ff
commit 8d1f89f6b6
+3 -2
View File
@@ -162,13 +162,14 @@ void * remove_node_from_nodes(void* arg){
}
void * add_node_to_nodes(void* arg){
struct arg_send_file *argS=(struct arg_send_file*)arg;
struct main_list_y_NODE_T *nodes=argS->nodes;
/*struct main_list_y_NODE_T *nodes=argS->nodes;
y_NODE_T node=argS->node;
if(NULL == search_node_in_list_y_NODE_T(nodes, node))
push_back_list_y_NODE_T(nodes, node);
*/
update_nodes(argS->node,argS->nodes);
return NULL;