mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-11-02 09:01:50 -05:00
pulse-server: fix compilation on some compilers
This commit is contained in:
parent
e3a2f4a645
commit
b6559289f1
1 changed files with 2 additions and 1 deletions
|
|
@ -348,6 +348,7 @@ static void service_entry_group_callback(AvahiEntryGroup *g, AvahiEntryGroupStat
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case AVAHI_ENTRY_GROUP_COLLISION:
|
case AVAHI_ENTRY_GROUP_COLLISION:
|
||||||
|
{
|
||||||
char *t;
|
char *t;
|
||||||
|
|
||||||
t = avahi_alternative_service_name(s->service_name);
|
t = avahi_alternative_service_name(s->service_name);
|
||||||
|
|
@ -357,7 +358,7 @@ static void service_entry_group_callback(AvahiEntryGroup *g, AvahiEntryGroupStat
|
||||||
|
|
||||||
publish_service(s);
|
publish_service(s);
|
||||||
break;
|
break;
|
||||||
|
}
|
||||||
case AVAHI_ENTRY_GROUP_FAILURE:
|
case AVAHI_ENTRY_GROUP_FAILURE:
|
||||||
pw_log_error("Failed to register service: %s",
|
pw_log_error("Failed to register service: %s",
|
||||||
avahi_strerror(avahi_client_errno(avahi_entry_group_get_client(g))));
|
avahi_strerror(avahi_client_errno(avahi_entry_group_get_client(g))));
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue