[avahi] when can avahi_entry_group_commit return "Bad state" ?

Julien PUYDT julien.puydt at laposte.net
Tue Sep 2 10:00:36 PDT 2008


Lennart Poettering a écrit :
> On Tue, 02.09.08 10:18, Julien PUYDT (julien.puydt at laposte.net) wrote:
> 
>> Hi,
>>
>> I have a bug where I get published correctly at first, but don't manage 
>> to update my information later : avahi_entry_group_commit returns "Bad 
>> state"...
>>
>> What should I do after/before 
>> avahi_entry_group_update_service_txt_strlst so that my data is updated?
> 
> the Avahi client will return AVAHI_ERR_BAD_STATE if you commit an
> entry group whose connection to the server is dead.

Hmmm... and how do I know if the connection to the server is dead? 
Shouldn't I know from the callback client?

Snark on freenode&gimpnet

PS: gnome's viewsvn doesn't seem to answer, but the code should be in 
ekiga's lib/engine/components/avahi-publisher/avahi-publisher.cpp ...


More information about the avahi mailing list