lib/avahi/Client: add assert()
This commit is contained in:
parent
9a7a49350c
commit
6b43338e06
|
@ -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,
|
||||
|
|
Loading…
Reference in New Issue