X-Git-Url: http://git.meshlink.io/?a=blobdiff_plain;f=examples%2Fclient-publish-service.c;h=94dcd1e9b060cb5bad69fd522af494666eeea6c3;hb=2635b54ef09173bbf72072436fad7d1e1fca3bc9;hp=66a59de04fc803a27758e80110f275e9dfadf80e;hpb=c1e5b725e8e769c8ac1f5df97aac53896b05af43;p=catta diff --git a/examples/client-publish-service.c b/examples/client-publish-service.c index 66a59de..94dcd1e 100644 --- a/examples/client-publish-service.c +++ b/examples/client-publish-service.c @@ -44,7 +44,7 @@ static char *name = NULL; 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 */