0
0
Fork 0
mirror of https://github.com/matrix-construct/construct synced 2024-06-29 15:28:20 +02:00

authd: Cleanup

This commit is contained in:
Matt Ullman 2016-03-28 20:14:31 -04:00
parent 7ad083b065
commit d8f8474dfd
3 changed files with 0 additions and 6 deletions

View file

@ -221,8 +221,6 @@ reject_client(struct auth_client *auth, provider_t id, const char *data, const c
void
accept_client(struct auth_client *auth, provider_t id)
{
uint32_t cid = auth->cid;
rb_helper_write(authd_helper, "A %x %s %s", auth->cid, auth->username, auth->hostname);
set_provider_off(auth, id);

View file

@ -425,9 +425,7 @@ blacklists_init(void)
static void
blacklists_destroy(void)
{
rb_dlink_node *ptr, *nptr;
rb_dictionary_iter iter;
struct blacklist *bl;
struct auth_client *auth;
RB_DICTIONARY_FOREACH(auth, &iter, auth_clients)

View file

@ -517,8 +517,6 @@ void build_rdns(char *buf, size_t size, const struct rb_sockaddr_storage *addr,
static void do_query_number(struct DNSQuery *query, const struct rb_sockaddr_storage *addr,
struct reslist *request)
{
const unsigned char *cp;
if (request == NULL)
{
request = make_request(query);