summaryrefslogtreecommitdiffstats
path: root/avahi-daemon/static-services.c
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2005-07-27 23:13:52 +0000
committerLennart Poettering <lennart@poettering.net>2005-07-27 23:13:52 +0000
commit8f1c6544deb351d9df51114c7f6e5f25e026f73e (patch)
tree7e9ac72d26081cbea2a5388f4e3163aac492fd86 /avahi-daemon/static-services.c
parentf4818ac7386bf29a5b8eeebaa6938b6b4ab2132f (diff)
* swap order of "type" and "name" arguments of avahi_server_add_service() and friends
git-svn-id: file:///home/lennart/svn/public/avahi/trunk@179 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
Diffstat (limited to 'avahi-daemon/static-services.c')
-rw-r--r--avahi-daemon/static-services.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/avahi-daemon/static-services.c b/avahi-daemon/static-services.c
index 4e97299..59ef7aa 100644
--- a/avahi-daemon/static-services.c
+++ b/avahi-daemon/static-services.c
@@ -210,7 +210,7 @@ static void add_static_service_group_to_server(StaticServiceGroup *g) {
avahi_server,
g->entry_group,
-1, AF_UNSPEC,
- s->type, g->chosen_name,
+ g->chosen_name, s->type,
s->domain_name, s->host_name, s->port,
avahi_string_list_copy(s->txt_records)) < 0) {
avahi_log_error("Failed to add service '%s' of type '%s', ignoring service group (%s)", g->chosen_name, s->type, g->filename);