Make this compile, but lots of warnings.
This commit is contained in:
parent
7cdb0a09b9
commit
ba200635a6
1 changed files with 2 additions and 3 deletions
|
@ -42,7 +42,6 @@
|
||||||
#include "packet.h"
|
#include "packet.h"
|
||||||
#include "send.h"
|
#include "send.h"
|
||||||
#include "event.h"
|
#include "event.h"
|
||||||
#include "patricia.h"
|
|
||||||
#include "s_newconf.h"
|
#include "s_newconf.h"
|
||||||
#include "s_stats.h"
|
#include "s_stats.h"
|
||||||
|
|
||||||
|
@ -554,8 +553,8 @@ expire_tgchange(void *unused)
|
||||||
|
|
||||||
if(target->expiry < CurrentTime)
|
if(target->expiry < CurrentTime)
|
||||||
{
|
{
|
||||||
dlinkDelete(ptr, &tgchange_list);
|
rb_dlinkDelete(ptr, &tgchange_list);
|
||||||
patricia_remove(tgchange_tree, target->pnode);
|
rb_patricia_remove(tgchange_tree, target->pnode);
|
||||||
MyFree(target->ip);
|
MyFree(target->ip);
|
||||||
MyFree(target);
|
MyFree(target);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue