Skip to content

Commit

Permalink
Merge branch 'main' into dwfreed/callerid-cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
dwfreed authored Nov 9, 2022
2 parents d27fba3 + 63ee103 commit 529aef6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ircd/authproc.c
Original file line number Diff line number Diff line change
Expand Up @@ -566,7 +566,6 @@ timeout_dead_authd_clients(void *notused __unused)
{
if(client_p->preClient->auth.timeout < rb_current_time())
{
authd_free_client(client_p);
rb_dlinkAddAlloc(client_p, &freelist);
}
}
Expand All @@ -575,7 +574,8 @@ timeout_dead_authd_clients(void *notused __unused)
RB_DLINK_FOREACH_SAFE(ptr, nptr, freelist.head)
{
client_p = ptr->data;
rb_dictionary_delete(cid_clients, RB_UINT_TO_POINTER(client_p->preClient->auth.cid));
authd_abort_client(client_p);
rb_dlinkDestroy(ptr, &freelist);
}
}

Expand Down

0 comments on commit 529aef6

Please sign in to comment.