comparison th_network.c @ 689:9c61834c191b

Remove th_llist_delete() and th_llist_delete_node() and rename th_llist_delete_node_fast() to th_llist_delete_node().
author Matti Hamalainen <ccr@tnsp.org>
date Mon, 09 Mar 2020 15:20:49 +0200
parents 6d2d3b512750
children 4ca6a3b30fe8
comparison
equal deleted inserted replaced
688:a54298eef91a 689:9c61834c191b
709 { 709 {
710 if (conn != NULL) 710 if (conn != NULL)
711 { 711 {
712 // Remove from linked list 712 // Remove from linked list
713 if (conn->node != NULL) 713 if (conn->node != NULL)
714 th_llist_delete_node_fast(&th_conn_list, conn->node); 714 th_llist_delete_node(&th_conn_list, conn->node);
715 715
716 // Free connection data 716 // Free connection data
717 th_conn_free_nodelete(conn); 717 th_conn_free_nodelete(conn);
718 } 718 }
719 } 719 }