mirror of
https://github.com/matrix-construct/construct
synced 2024-11-26 08:42:34 +01:00
authd: don't decrement refcount twice when accepting the client
This commit is contained in:
parent
896370cc3e
commit
3b0b4037d0
1 changed files with 1 additions and 1 deletions
|
@ -240,7 +240,7 @@ provider_done(struct auth_client *auth, uint32_t id)
|
|||
if(auth->refcount == 0 && !auth->providers_starting)
|
||||
{
|
||||
/* All done */
|
||||
accept_client(auth, id);
|
||||
accept_client(auth, UINT32_MAX);
|
||||
return;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue