diff --git a/src/lib/avahi/Client.cxx b/src/lib/avahi/Client.cxx index 955641449..454e99130 100644 --- a/src/lib/avahi/Client.cxx +++ b/src/lib/avahi/Client.cxx @@ -79,7 +79,7 @@ Client::ClientCallback(AvahiClient *c, AvahiClientState state) noexcept case AVAHI_CLIENT_S_COLLISION: case AVAHI_CLIENT_S_REGISTERING: - assert(!connected); + connected = false; for (auto *l : listeners) l->OnAvahiChanged();