diff options
author | /C=EU/ST=EU/CN=Pablo Neira Ayuso/emailAddress=pablo@netfilter.org </C=EU/ST=EU/CN=Pablo Neira Ayuso/emailAddress=pablo@netfilter.org> | 2008-01-20 23:56:55 +0000 |
---|---|---|
committer | /C=EU/ST=EU/CN=Pablo Neira Ayuso/emailAddress=pablo@netfilter.org </C=EU/ST=EU/CN=Pablo Neira Ayuso/emailAddress=pablo@netfilter.org> | 2008-01-20 23:56:55 +0000 |
commit | d6f29c81c1452db525d12110d5f15f7f39df9b86 (patch) | |
tree | d88c004d71f837666081158873d94a20c3773de7 /src/sync-alarm.c | |
parent | bcae271764d18e570a5fca382eeea748add4af62 (diff) | |
download | conntrack-tools-d6f29c81c1452db525d12110d5f15f7f39df9b86.tar.gz conntrack-tools-d6f29c81c1452db525d12110d5f15f7f39df9b86.zip |
Max Kellermann <max@duempel.org>:
remove init_alarm() before add_alarm()
Diffstat (limited to 'src/sync-alarm.c')
-rw-r--r-- | src/sync-alarm.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/sync-alarm.c b/src/sync-alarm.c index 1f164b2..f7a1536 100644 --- a/src/sync-alarm.c +++ b/src/sync-alarm.c @@ -35,7 +35,6 @@ static void refresher(struct alarm_list *a, void *data) debug_ct(u->ct, "persistence update"); - init_alarm(a, u, refresher); add_alarm(a, random() % CONFIG(refresh) + 1, ((random() % 5 + 1) * 200000) - 1); |