Make this compile, but lots of warnings.

This commit is contained in:
William Pitcock 2008-04-01 15:26:43 -05:00
parent 7cdb0a09b9
commit ba200635a6

View file

@ -42,7 +42,6 @@
#include "packet.h"
#include "send.h"
#include "event.h"
#include "patricia.h"
#include "s_newconf.h"
#include "s_stats.h"
@ -554,8 +553,8 @@ expire_tgchange(void *unused)
if(target->expiry < CurrentTime)
{
dlinkDelete(ptr, &tgchange_list);
patricia_remove(tgchange_tree, target->pnode);
rb_dlinkDelete(ptr, &tgchange_list);
rb_patricia_remove(tgchange_tree, target->pnode);
MyFree(target->ip);
MyFree(target);
}