static void create_services(AvahiClient *c);
static void entry_group_callback(AvahiEntryGroup *g, AvahiEntryGroupState state, AVAHI_GCC_UNUSED void *userdata) {
- assert(g == group);
+ assert(g == group || group == NULL);
/* Called whenever the entry group state changes */
goto fail;
}
- /* After 20s do some weird modification to the service */
+ /* After 10s do some weird modification to the service */
avahi_simple_poll_get(simple_poll)->timeout_new(
avahi_simple_poll_get(simple_poll),
avahi_elapse_time(&tv, 1000*10, 0),