summaryrefslogtreecommitdiffstats
path: root/avahi-daemon/static-services.c
diff options
context:
space:
mode:
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 0ac6326..1f9b765 100644
--- a/avahi-daemon/static-services.c
+++ b/avahi-daemon/static-services.c
@@ -213,7 +213,7 @@ static void add_static_service_group_to_server(StaticServiceGroup *g) {
-1, AF_UNSPEC,
g->chosen_name, s->type,
s->domain_name, s->host_name, s->port,
- avahi_string_list_copy(s->txt_records)) < 0) {
+ 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);
remove_static_service_group_from_server(g);
return;