summaryrefslogtreecommitdiffstats
path: root/examples
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2005-08-04 12:35:11 +0000
committerLennart Poettering <lennart@poettering.net>2005-08-04 12:35:11 +0000
commit8c585e0162e7d773a18ef179e7e8561c2aa71e17 (patch)
tree74c3d144ab7d14beca3be962bebb7bda01f99e6a /examples
parent3bf52c1e00fd8cf4850329adb4f76c3c2649df79 (diff)
don't register workstation service in example
git-svn-id: file:///home/lennart/svn/public/avahi/trunk@226 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
Diffstat (limited to 'examples')
-rw-r--r--examples/publish-service.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/examples/publish-service.c b/examples/publish-service.c
index c9d0141..7c9879c 100644
--- a/examples/publish-service.c
+++ b/examples/publish-service.c
@@ -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);