diff options
Diffstat (limited to 'avahi-core/announce.c')
-rw-r--r-- | avahi-core/announce.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/avahi-core/announce.c b/avahi-core/announce.c index 0b7af8d..fe461de 100644 --- a/avahi-core/announce.c +++ b/avahi-core/announce.c @@ -208,7 +208,7 @@ static void go_to_initial_state(AvahiAnnouncement *a, gboolean immediately) { g_assert(a); e = a->entry; - + if ((e->flags & AVAHI_ENTRY_UNIQUE) && !(e->flags & AVAHI_ENTRY_NOPROBE)) a->state = AVAHI_PROBING; else if (!(e->flags & AVAHI_ENTRY_NOANNOUNCE)) { @@ -342,6 +342,8 @@ gboolean avahi_entry_probing(AvahiServer *s, AvahiEntry *e, AvahiInterface *i) { if (!(a = avahi_get_announcement(s, e, i))) return FALSE; + +/* avahi_log_debug("state: %i", a->state); */ return a->state == AVAHI_PROBING || |