summaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
Diffstat (limited to 'examples')
-rw-r--r--examples/core-publish-service.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/core-publish-service.c b/examples/core-publish-service.c
index dc5170b..f5cadea 100644
--- a/examples/core-publish-service.c
+++ b/examples/core-publish-service.c
@@ -140,7 +140,7 @@ static void server_callback(AvahiServer *s, AvahiServerState state, void * userd
/* The serve has startup successfully and registered its host
* name on the network, so it's time to create our services */
- if (group)
+ if (!group)
create_services(s);
break;