X-Git-Url: https://www.tinc-vpn.org/git/browse?p=tinc;a=blobdiff_plain;f=lib%2Fsplay_tree.c;h=97abecc23a2f4c8fc5ea9dc12344af879b08b2d4;hp=f6e5a4bc71d250fa37e01ee627ea647610fcf142;hb=0e6856b1379e278aa5ed116d0911851339a6064c;hpb=de78d79db84c486afcc353884ec1770866beb653 diff --git a/lib/splay_tree.c b/lib/splay_tree.c index f6e5a4bc..97abecc2 100644 --- a/lib/splay_tree.c +++ b/lib/splay_tree.c @@ -15,8 +15,6 @@ You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. - - $Id: splay_tree.c 1374 2004-03-21 14:21:22Z guus $ */ #include "system.h" @@ -534,7 +532,7 @@ void splay_delete(splay_tree_t *tree, void *data) { void splay_delete_tree(splay_tree_t *tree) { splay_node_t *node, *next; - for(node = tree->root; node; node = next) { + for(node = tree->head; node; node = next) { next = node->next; splay_free_node(tree, node); }