diff options
Diffstat (limited to 'examples/client-publish-service.c')
-rw-r--r-- | examples/client-publish-service.c | 2 |
1 files changed, 1 insertions, 1 deletions
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 */ |