]> git.meshlink.io Git - catta/commitdiff
don't register workstation service in example
authorLennart Poettering <lennart@poettering.net>
Thu, 4 Aug 2005 12:35:11 +0000 (12:35 +0000)
committerLennart Poettering <lennart@poettering.net>
Thu, 4 Aug 2005 12:35:11 +0000 (12:35 +0000)
git-svn-id: file:///home/lennart/svn/public/avahi/trunk@226 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe

examples/publish-service.c

index c9d0141d5949f3e6f5917df43f1695eac81024f6..7c9879ccf66a49d6df79b20d28e8d646e1e2460c 100644 (file)
@@ -129,6 +129,7 @@ int main(int argc, char*argv[]) {
     /* Let's set the host name for this server. */
     avahi_server_config_init(&config);
     config.host_name = g_strdup("gurkiman");
+    config.publish_workstation = FALSE;
     
     /* Allocate a new server */
     server = avahi_server_new(NULL, &config, server_callback, NULL);