summaryrefslogtreecommitdiffstats
path: root/avahi-core/announce.c
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2009-11-14 02:43:37 +0100
committerLennart Poettering <lennart@poettering.net>2009-11-14 02:43:37 +0100
commitf7e3b4fab6ba1bc98c6dbe859ccdef4fde6c5db2 (patch)
tree393c8a76adde788ad972bb57027d71a311f813a5 /avahi-core/announce.c
parent3ee310972c0effede5086085156024bc072d4bb8 (diff)
core: Bug fixes for cleanup code
Patch contributed by "oc3an". http://avahi.org/ticket/267
Diffstat (limited to 'avahi-core/announce.c')
-rw-r--r--avahi-core/announce.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/avahi-core/announce.c b/avahi-core/announce.c
index a77fbb6..d0fd598 100644
--- a/avahi-core/announce.c
+++ b/avahi-core/announce.c
@@ -376,7 +376,7 @@ static int is_duplicate_entry(AvahiServer *s, AvahiEntry *e) {
for (i = avahi_hashmap_lookup(s->entries_by_key, e->record->key); i; i = i->by_key_next) {
- if (i == e)
+ if ((i == e) || (i->dead))
continue;
if (!avahi_record_equal_no_ttl(i->record, e->record))