I think when you added the support for periodically retrying avahi connections, the guard condition wasn't set early enough.
Please take a look at commit 15bd402 in the fedorapeople.org repository. It sets the global AvahiCupsClientConnecting variable as soon as it sees that avahi_client_new() has successfully returned, rather than waiting for the first callback.
I think when you added the support for periodically retrying avahi connections, the guard condition wasn't set early enough.
Please take a look at commit 15bd402 in the fedorapeople.org repository. It sets the global AvahiCupsClient Connecting variable as soon as it sees that avahi_client_new() has successfully returned, rather than waiting for the first callback.