]> git.meshlink.io Git - catta/blobdiff - examples/core-publish-service.c
fix core-publish-service.c
[catta] / examples / core-publish-service.c
index dc5170b773dc06984f42ba52d5fb6ed1ea108909..f5cadeab6e7ea74982b70480a3e6009dc111d052 100644 (file)
@@ -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;