mirror of
https://github.com/badaix/snapcast.git
synced 2025-05-09 23:26:47 +02:00
fixed crash in case of ZeroConf name collision
This commit is contained in:
parent
52b0e92a5c
commit
94ee70d0af
3 changed files with 12 additions and 8 deletions
|
@ -134,7 +134,7 @@ void PublishAvahi::create_services(AvahiClient *c) {
|
|||
|
||||
if (!group)
|
||||
{
|
||||
if (!(group = avahi_entry_group_new(c, entry_group_callback, NULL))) {
|
||||
if (!(group = avahi_entry_group_new(c, entry_group_callback, this))) {
|
||||
logE << "avahi_entry_group_new() failed: " << avahi_strerror(avahi_client_errno(c)) << "\n";
|
||||
goto fail;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue