error-notify: Don't stop sending notifies after removing a disconnected listener

This prevented new listeners from receiving notifies if they joined
after another listener disconnected previously, and if they themselves
disconnected their old connection would prevent them again from getting
notifies.
This commit is contained in:
Tobias Brunner 2017-07-13 11:54:50 +02:00
parent 6138b8d629
commit ed926a73df
1 changed files with 1 additions and 2 deletions

View File

@ -94,7 +94,6 @@ METHOD(error_notify_socket_t, notify, void,
DBG1(DBG_CFG, "sending notify failed: %s", strerror(errno));
break;
}
break;
}
}
enumerator->destroy(enumerator);
@ -146,7 +145,7 @@ error_notify_socket_t *error_notify_socket_create()
this->service = lib->streams->create_service(lib->streams, uri, 10);
if (!this->service)
{
DBG1(DBG_CFG, "creating duplicheck socket failed");
DBG1(DBG_CFG, "creating error-notify socket failed");
destroy(this);
return NULL;
}