diff --git a/src/lib/avahi/Client.cxx b/src/lib/avahi/Client.cxx index 89f293a24..3f14c3473 100644 --- a/src/lib/avahi/Client.cxx +++ b/src/lib/avahi/Client.cxx @@ -94,6 +94,8 @@ Client::ClientCallback(AvahiClient *c, AvahiClientState state, void Client::OnReconnectTimer() noexcept { + assert(client == nullptr); + int error; client = avahi_client_new(&poll, AVAHI_CLIENT_NO_FAIL, ClientCallback, this,